An empty SimpleXMLElement is false
dataA SimpleXMLElement with data is true
Fatal error: Uncaught Error: Call to undefined method stdClass::__toString() in /in/Nivth:15
Stack trace:
#0 {main}
thrown in /in/Nivth on line 15
Process exited with code 255.
An empty SimpleXMLElement is false
dataA SimpleXMLElement with data is true
Fatal error: Call to undefined method stdClass::__toString() in /in/Nivth on line 15
Process exited with code 255.