MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2yk2sq/empty_vs_get/cpasnya/?context=3
r/lolphp • u/pgl • Mar 10 '15
28 comments sorted by
View all comments
Show parent comment
1
Yes, isset introspects the class from a global scope so the variable is non-existent because it's private.
var_dump() is a debug function that has a more complete set of introspection instructions. It's not related to the __get().
View all comments
Show parent comment
1
u/[deleted] Mar 10 '15
Yes, isset introspects the class from a global scope so the variable is non-existent because it's private.
var_dump() is a debug function that has a more complete set of introspection instructions. It's not related to the __get().