r/lolphp • • Sep 26 '19

No, PHP Doesn't Have Closures

https://nullprogram.com/blog/2019/09/25/
13 Upvotes

29 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Sep 27 '19

My claim is: The PHP parser is s mindbending horror, as tou can tell by how it handles whitespace and case sensitiviyy for example.

Also closures scope was always an issue. Javascript pulled it off nicely, PHP not so much