News for hackers. Stuff that matters.
Re:JavaScript's world domination by nawariata on Tuesday March 24, 2015 @07:18PM (#9260237)
PHP has closures.
Re:JavaScript's world domination by TazeTSchnitzel on Tuesday March 24, 2015 @08:51PM (#9260610)
Pseudo-closures. They capture variables by value, though you can use PHP's referencing mechanism to have something sort of closure-like.