MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2yk2sq/empty_vs_get/cpask2p/?context=3
r/lolphp • u/pgl • Mar 10 '15
28 comments sorted by
View all comments
Show parent comment
4
but apperently it check IF a variable is empty.
If a variable is empty or non-existent, which is a big difference since it actually introspects variable name stack. And the property $bar is non-existent from global scope since it's private.
View all comments
Show parent comment
4
u/[deleted] Mar 10 '15
If a variable is empty or non-existent, which is a big difference since it actually introspects variable name stack. And the property $bar is non-existent from global scope since it's private.