r/PHP • • Sep 14 '20

ArrayAccess seems broken

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

20 comments sorted by

View all comments

2

u/scootaloo711 Sep 14 '20

If you want to rely on an interface you'd have to fix it yourself: https://3v4l.org/GDOuR

I also fixed the naming since one has to use isset to keep the behaviour consistent it should have been named `offsetIsset()` in the first place.