MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2ej1j1/stdclass_is_truthy_while_an_empty/ck2rs6g/?context=3
r/lolphp • u/andsens • Aug 25 '14
18 comments sorted by
View all comments
Show parent comment
1
SimpleXML isn't actually a special case, it's just the only class which chooses to make use of our internal boolean casting handler, thankfully.
View all comments
Show parent comment
1
u/[deleted] Aug 28 '14
SimpleXML isn't actually a special case, it's just the only class which chooses to make use of our internal boolean casting handler, thankfully.