3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xml = '<?xml version="1.0" encoding="utf-8" ?> <modifycontactrequest> <usersignindetails> <wxxclientnr>125</wxxclientnr> <username>mla_vb_ph19</username> <password>xs4manila</password> <i64ipaddress>2130706433</i64ipaddress> <PlatformId>11</PlatformId> </usersignindetails> <wxxdetails> <wxxcustomerid>102005899</wxxcustomerid> </wxxdetails> <contact> <name>hey hey hey re</name> <username>hey hey hey re&Acirc;&euro;</username> <contacttype>2</contacttype> </contact> <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> <callingurl>/contacts/edit_contact</callingurl> </modifycontactrequest> '; $xml = simplexml_load_string($xml); print_r($xml);
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: simplexml_load_string(): Entity: line 15: parser error : Entity 'Acirc' not defined in /in/MM8EP on line 25 Warning: simplexml_load_string(): <username>hey hey hey re&Acirc;&euro;</username> in /in/MM8EP on line 25 Warning: simplexml_load_string(): ^ in /in/MM8EP on line 25 Warning: simplexml_load_string(): Entity: line 15: parser error : Entity 'euro' not defined in /in/MM8EP on line 25 Warning: simplexml_load_string(): <username>hey hey hey re&Acirc;&euro;</username> in /in/MM8EP on line 25 Warning: simplexml_load_string(): ^ in /in/MM8EP on line 25 Warning: simplexml_load_string(): Entity: line 18: parser error : Entity 'Acirc' not defined in /in/MM8EP on line 25 Warning: simplexml_load_string(): <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> in /in/MM8EP on line 25 Warning: simplexml_load_string(): ^ in /in/MM8EP on line 25 Warning: simplexml_load_string(): Entity: line 18: parser error : Entity 'euro' not defined in /in/MM8EP on line 25 Warning: simplexml_load_string(): <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> in /in/MM8EP on line 25 Warning: simplexml_load_string(): ^ in /in/MM8EP on line 25
Output for hhvm-3.10.0 - 3.13.2
Entity: line 15: parser error : Entity 'Acirc' not defined <username>hey hey hey re&Acirc;&euro;</username> ^ Entity: line 15: parser error : Entity 'euro' not defined <username>hey hey hey re&Acirc;&euro;</username> ^ Entity: line 18: parser error : Entity 'Acirc' not defined <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> ^ Entity: line 18: parser error : Entity 'euro' not defined <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> ^
Output for 5.0.0 - 5.0.5
Warning: Entity: line 15: parser error : Entity 'Acirc' not defined in /in/MM8EP on line 25 Warning: <username>hey hey hey re&Acirc;&euro;</username> in /in/MM8EP on line 25 Warning: ^ in /in/MM8EP on line 25 Warning: Entity: line 15: parser error : Entity 'euro' not defined in /in/MM8EP on line 25 Warning: <username>hey hey hey re&Acirc;&euro;</username> in /in/MM8EP on line 25 Warning: ^ in /in/MM8EP on line 25 Warning: Entity: line 18: parser error : Entity 'Acirc' not defined in /in/MM8EP on line 25 Warning: <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> in /in/MM8EP on line 25 Warning: ^ in /in/MM8EP on line 25 Warning: Entity: line 18: parser error : Entity 'euro' not defined in /in/MM8EP on line 25 Warning: <originalcontactname>hey hey hey re&Acirc;&euro;</originalcontactname> in /in/MM8EP on line 25 Warning: ^ in /in/MM8EP on line 25
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: simplexml_load_string() in /in/MM8EP on line 25
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: simplexml_load_string() in /in/MM8EP on line 25
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: simplexml_load_string() in /in/MM8EP on line 25