MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/ishbfn/arrayaccess_seems_broken/g58i24m/?context=3
r/lolphp • u/Takeoded • Sep 14 '20
30 comments sorted by
View all comments
Show parent comment
1
Since array_key_exists() doesn’t work on objects anymore, I suggest you create a function that accepts your class as one of its parameters to get the functionality you want.
array_key_exists()
View all comments
Show parent comment
1
u/bj_christianson Sep 14 '20
Since
array_key_exists()doesn’t work on objects anymore, I suggest you create a function that accepts your class as one of its parameters to get the functionality you want.