object(SimpleXMLElement)#1 (1) {
["Data"]=>
string(9) "some data"
}
Fatal error: Uncaught Error: Call to a member function attributes() on null in /in/svsWt:5
Stack trace:
#0 {main}
thrown in /in/svsWt on line 5
Process exited with code 255.
Output for 7.3.17, 7.4.5
object(SimpleXMLElement)#1 (1) {
["Data"]=>
object(SimpleXMLElement)#2 (2) {
["@attributes"]=>
array(1) {
["bar"]=>
string(5) "snafu"
}
[0]=>
string(9) "some data"
}
}
Fatal error: Uncaught Error: Call to a member function attributes() on null in /in/svsWt:5
Stack trace:
#0 {main}
thrown in /in/svsWt on line 5
Process exited with code 255.
Output for 5.6.0 - 5.6.38
object(SimpleXMLElement)#1 (1) {
["Data"]=>
string(9) "some data"
}
Fatal error: Call to a member function attributes() on null in /in/svsWt on line 5
Process exited with code 255.
object(SimpleXMLElement)#1 (1) {
["Data"]=>
string(9) "some data"
}
Fatal error: Call to a member function attributes() on a non-object in /in/svsWt on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: simplexml_load_string() in /in/svsWt on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: simplexml_load_string() in /in/svsWt on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: simplexml_load_string() in /in/svsWt on line 3