3v4l.org

run code in 300+ PHP versions simultaneously
<?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)));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.00.0000.06020.27
5.6.160.0030.07320.48
5.6.150.0100.07318.17
5.6.140.0030.04018.23
5.6.130.0070.06318.12
5.6.120.0170.06720.98
5.6.110.0030.09320.99
5.6.100.0030.08720.89
5.6.90.0100.05320.95
5.6.80.0070.04020.43
5.5.300.0030.04018.05
5.5.290.0130.05017.98
5.5.280.0100.05320.77
5.5.270.0170.05320.87
5.5.260.0100.08320.87
5.5.250.0100.07720.68
5.5.240.0130.05720.24

preferences:
144.64 ms | 1397 KiB | 8 Q