3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = <<<XML <response request="getHierarchyByMarketType" code="001" message="success" debug=""> <jonny> <class id="5" name="Formula 1" maxRepDate="2012-12-19" maxRepTime="15:03:34"> <type id="4558" name="F1 Championship" lastUpdateDate="2012-11-26" lastUpdateTime="16:17:33" /> </class> </jonny> </response> XML; $xml = simplexml_load_string($x); $test = $xml->xpath("//type/@name"); echo list($test);

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)
5.4.200.0070.07019.20
5.4.190.0170.06318.99
5.4.180.0030.07019.13
5.4.170.0130.03019.11
5.4.160.0030.08018.96
5.4.150.0100.04018.83
5.4.140.0070.04316.28
5.4.130.0000.05016.29
5.4.120.0030.04716.41
5.4.110.0130.05316.46
5.4.100.0000.04316.34
5.4.90.0030.05716.41
5.4.80.0000.04316.30
5.4.70.0030.03716.28
5.4.60.0000.04716.25
5.4.50.0070.07316.27
5.4.40.0070.07016.42
5.4.30.0130.03716.40
5.4.20.0200.06016.50
5.4.10.0070.07716.38
5.4.00.0030.06715.86
5.3.270.0030.05014.58
5.3.260.0100.07314.69
5.3.250.0000.06714.55
5.3.240.0100.03714.58
5.3.230.0100.05014.54
5.3.220.0030.07714.51
5.3.210.0030.04014.59
5.3.200.0070.04314.44
5.3.190.0000.07014.49
5.3.180.0000.06014.38
5.3.170.0130.02714.35
5.3.160.0030.06014.38
5.3.150.0000.06314.46
5.3.140.0070.08014.49
5.3.130.0000.05714.33
5.3.120.0070.07014.47
5.3.110.0070.04714.43
5.3.100.0030.04714.00
5.3.90.0130.06313.81
5.3.80.0030.05713.86
5.3.70.0070.04713.97
5.3.60.0130.06713.82
5.3.50.0070.05313.89
5.3.40.0030.05013.78
5.3.30.0030.06313.86
5.3.20.0070.07313.78
5.3.10.0000.04013.48
5.3.00.0070.04313.46

preferences:
142.9 ms | 1394 KiB | 7 Q