3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xml = <<<XML <global> <entity_id><![CDATA[82]]></entity_id> <attribute_set_id><![CDATA[9]]></attribute_set_id> <sku><![CDATA[ana_8]]></sku> <erp> <barcode></barcode> </erp> </global> XML; print_r(json_decode(json_encode(simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA)));
based on Opk5G
Output for 7.0.0
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/4HA38 on line 14
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/4HA38 on line 14
Process exited with code 255.