3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php simplexml_load_string('<?xml version="1.0" encoding="UTF-8"?><root value="'.chr(0xFC).'ÜÖ"/>')->asXML('php://output');
Output for 7.0.0 - 7.1.0
Warning: simplexml_load_string(): Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0xC3 0x9C 0xC3 in /in/IDiPv on line 3 Warning: simplexml_load_string(): <?xml version="1.0" encoding="UTF-8"?><root value="�ÜÖ"/> in /in/IDiPv on line 3 Warning: simplexml_load_string(): ^ in /in/IDiPv on line 3 Fatal error: Uncaught Error: Call to a member function asXML() on boolean in /in/IDiPv:3 Stack trace: #0 {main} thrown in /in/IDiPv on line 3
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function asXML() on a non-object (boolean)' in /in/IDiPv:3 Stack trace: #0 {main} Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0xC3 0x9C 0xC3 <?xml version="1.0" encoding="UTF-8"?><root value="�ÜÖ"/> ^
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Warning: simplexml_load_string(): Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0xC3 0x9C 0xC3 in /in/IDiPv on line 3 Warning: simplexml_load_string(): <?xml version="1.0" encoding="UTF-8"?><root value="�ÜÖ"/> in /in/IDiPv on line 3 Warning: simplexml_load_string(): ^ in /in/IDiPv on line 3 Fatal error: Call to a member function asXML() on boolean in /in/IDiPv on line 3
Process exited with code 255.
Output for 5.1.0 - 5.5.35
Warning: simplexml_load_string(): Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0xC3 0x9C 0xC3 in /in/IDiPv on line 3 Warning: simplexml_load_string(): <?xml version="1.0" encoding="UTF-8"?><root value="�ÜÖ"/> in /in/IDiPv on line 3 Warning: simplexml_load_string(): ^ in /in/IDiPv on line 3 Fatal error: Call to a member function asXML() on a non-object in /in/IDiPv on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0xC3 0x9C 0xC3 in /in/IDiPv on line 3 Warning: <?xml version="1.0" encoding="UTF-8"?><root value="�ÜÖ"/> in /in/IDiPv on line 3 Warning: ^ in /in/IDiPv on line 3 Fatal error: Call to a member function asXML() on a non-object in /in/IDiPv on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/IDiPv on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/IDiPv on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/IDiPv on line 3
Process exited with code 255.