cp SimpleXMLElement Object
(
[@attributes] => Array
(
[characterID] => 2234
[name] => Bob
)
[format] => Bob format
)
cp
Fatal error: Uncaught Error: Call to a member function __toString() on null in /in/JKrKh:30
Stack trace:
#0 {main}
thrown in /in/JKrKh on line 30
Process exited with code 255.
Output for 7.3.17, 7.4.5
cp SimpleXMLElement Object
(
[@attributes] => Array
(
[characterID] => 2234
[name] => Bob
)
[format] => SimpleXMLElement Object
(
[@attributes] => Array
(
[type] => test
)
[0] => Bob format
)
)
cp
Fatal error: Uncaught Error: Call to a member function __toString() on null in /in/JKrKh:30
Stack trace:
#0 {main}
thrown in /in/JKrKh on line 30
Process exited with code 255.
Output for 5.6.7 - 5.6.28
cp SimpleXMLElement Object
(
[@attributes] => Array
(
[characterID] => 2234
[name] => Bob
)
[format] => Bob format
)
cp
Fatal error: Call to a member function __toString() on null in /in/JKrKh on line 30
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35
cp SimpleXMLElement Object
(
[@attributes] => Array
(
[characterID] => 2234
[name] => Bob
)
[format] => Bob format
)
cp
Fatal error: Call to a member function __toString() on a non-object in /in/JKrKh on line 30
Process exited with code 255.