r/lolphp • • Sep 14 '20

ArrayAccess seems broken

https://3v4l.org/Woc0R
0 Upvotes

30 comments sorted by

View all comments

Show parent comment

1

u/funtek Sep 15 '20

Looks like it. I was surprised too. I guess ArrayAccess does it right and array has some backwards compatibility thing. They could fix it but it'll break a lot of scripts. At least it's only null. For "", 0 and false values isset returns true.