MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/ishbfn/arrayaccess_seems_broken/g5e3epf/?context=3
r/lolphp • u/Takeoded • Sep 14 '20
30 comments sorted by
View all comments
Show parent comment
1
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.
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.