3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $strXML = '<?xml version="1.0" encoding="utf-8"?><List><Item PackageID="PID1197131022103218421" PackageName="2013冬季不冷-徽章碎片“季”" LotteryLevel="5" LotteryLevelName="2013冬季不冷-徽章碎片“季”" LotteryScale="0.25" /><Item PackageID="PID1197131022102238558" PackageName="2013冬季不冷-徽章碎片"2013"" LotteryLevel="1" LotteryLevelName="2013冬季不冷-徽章碎片"2013"" LotteryScale="0.24" /><Item PackageID="PID1197131022102721419" PackageName="2013冬季不冷-徽章碎片“温”" LotteryLevel="2" LotteryLevelName="2013冬季不冷-徽章碎片“温”" LotteryScale="0.26" /><Item PackageID="PID1197131022102820466" PackageName="2013冬季不冷-徽章碎片“暖”" LotteryLevel="3" LotteryLevelName="2013冬季不冷-徽章碎片“暖”" LotteryScale="0.0001" /><Item PackageID="PID1197131022102940279" PackageName="2013冬季不冷-徽章碎片“冬”" LotteryLevel="4" LotteryLevelName="2013冬季不冷-徽章碎片“冬”" LotteryScale="0.2499" /></List>'; $xml = simplexml_load_string($strXML, '', LIBXML_NOERROR );
Output for 5.2.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: simplexml_load_string() expects parameter 2 to be a class name derived from SimpleXMLElement, '' given in /in/vSASh on line 4
Output for 5.1.0 - 5.1.6, hhvm-3.10.0 - 3.12.0
Output for 5.0.0 - 5.0.5
Notice: Use of undefined constant LIBXML_NOERROR - assumed 'LIBXML_NOERROR' in /in/vSASh on line 4 Warning: simplexml_load_string() expects at most 2 parameters, 3 given in /in/vSASh on line 4
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: simplexml_load_string() in /in/vSASh on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: simplexml_load_string() in /in/vSASh on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: simplexml_load_string() in /in/vSASh on line 4