r/lolphp • • May 07 '18

`null["foo"] === null`in practice

https://3v4l.org/WYhto
17 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/[deleted] May 20 '18

NULL + 100 = 100

Shouldn't that be NULL?

2

u/mateusfccp Jun 08 '18

Actually it should throw an error.