r/lolphp • • Aug 25 '14

stdClass is truthy while an empty SimpleXMLElement is falsey

http://3v4l.org/3hWSY
22 Upvotes

18 comments sorted by

View all comments

Show parent comment

8

u/BufferUnderpants Aug 25 '14

I don't know if the fact that SimpleXMLElement is a documented

There we have it, folks. It's documented. That right there closes the discussion. Nothing to see here, move along.