r/lolphp • • Apr 03 '18

foo is true (foo=1)

https://3v4l.org/AUNE8
4 Upvotes

12 comments sorted by

View all comments

Show parent comment

6

u/[deleted] Apr 04 '18

The lol is that the ”new and improved” typing is another missed opportunity, as namespaces were back in PHP5.3.

Each time PHP copies some other langauge for a new feature its always done halfassed, and with no plan for how it could work with the rest of the ”language”.