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 = (string)$xml->xpath("//type/@name"); var_dump($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)
8.3.70.0170.00717.11
8.3.60.0130.01017.00
8.3.50.0110.00518.50
8.3.40.0100.01019.01
8.3.30.0040.01118.99
8.3.20.0090.00018.80
8.3.10.0040.00420.83
8.3.00.0000.00819.51
8.2.180.0150.00617.00
8.2.170.0040.01122.96
8.2.160.0060.00919.34
8.2.150.0030.00624.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0060.00319.02
8.2.110.0030.00721.36
8.2.100.0080.00318.03
8.2.90.0030.00719.67
8.2.80.0040.00419.66
8.2.70.0000.00817.75
8.2.60.0000.00818.15
8.2.50.0000.00918.07
8.2.40.0000.00818.28
8.2.30.0040.00418.12
8.2.20.0000.00919.54
8.2.10.0060.00317.96
8.2.00.0000.00918.09
8.1.280.0130.00325.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0040.01128.09
8.1.240.0070.00322.86
8.1.230.0110.00021.22
8.1.220.0050.00318.04
8.1.210.0000.00819.22
8.1.200.0030.00617.50
8.1.190.0050.00217.64
8.1.180.0040.00418.10
8.1.170.0050.00320.94
8.1.160.0040.00419.13
8.1.150.0040.00718.84
8.1.140.0030.00517.73
8.1.130.0080.00018.13
8.1.120.0070.00017.70
8.1.110.0000.00717.82
8.1.100.0000.00717.75
8.1.90.0000.00717.59
8.1.80.0070.00017.84
8.1.70.0000.00817.82
8.1.60.0000.00717.95
8.1.50.0060.00317.63
8.1.40.0040.00417.74
8.1.30.0030.00717.87
8.1.20.0080.00017.78
8.1.10.0080.00017.82
8.1.00.0000.00817.60
8.0.300.0080.00020.02
8.0.290.0040.00417.00
8.0.280.0070.00018.67
8.0.270.0040.00417.36
8.0.260.0030.00317.18
8.0.250.0070.00017.11
8.0.240.0070.00417.35
8.0.230.0080.00017.34
8.0.220.0000.00817.33
8.0.210.0070.00017.28
8.0.200.0000.00717.18
8.0.190.0060.00317.38
8.0.180.0070.00017.05
8.0.170.0040.00417.23
8.0.160.0000.00717.24
8.0.150.0040.00417.30
8.0.140.0070.00316.99
8.0.130.0040.00413.65
8.0.120.0040.00417.28
8.0.110.0000.00717.28
8.0.100.0000.00717.21
8.0.90.0040.00417.23
8.0.80.0070.00717.18
8.0.70.0040.00417.27
8.0.60.0040.00417.12
8.0.50.0050.00317.12
8.0.30.0110.00717.48
8.0.20.0110.01217.25
8.0.10.0040.00417.29
8.0.00.0110.00816.98
7.4.330.0020.00213.35
7.4.320.0030.00316.94
7.4.300.0060.00016.79
7.4.290.0000.00616.69
7.4.280.0040.00416.83
7.4.270.0000.00816.79
7.4.260.0030.00313.56
7.4.250.0000.00816.77
7.4.240.0030.00316.76
7.4.230.0000.00716.94
7.4.220.0080.01216.98
7.4.210.0070.01216.94
7.4.200.0040.00416.84
7.4.190.0040.00416.83
7.4.160.0100.00616.61
7.4.150.0000.01716.65
7.4.140.0110.00916.90
7.4.130.0060.01216.72
7.4.120.0090.00916.84
7.4.110.0120.00616.89
7.4.100.0130.00316.85
7.4.90.0090.00916.70
7.4.80.0100.00719.39
7.4.70.0110.00716.81
7.4.60.0040.01416.86
7.4.50.0030.00316.96
7.4.40.0100.00716.64
7.4.30.0070.01416.68
7.4.00.0100.00315.29
7.3.330.0000.00813.22
7.3.320.0050.00213.48
7.3.310.0000.00716.68
7.3.300.0030.00316.66
7.3.290.0150.00016.63
7.3.280.0080.00916.58
7.3.270.0000.01616.73
7.3.260.0150.00316.62
7.3.250.0120.00716.60
7.3.240.0140.00416.61
7.3.230.0080.00816.83
7.3.210.0130.00916.59
7.3.200.0030.01716.75
7.3.190.0120.00816.79
7.3.180.0120.00316.70
7.3.170.0130.00316.66
7.3.160.0100.00816.60
7.3.120.0040.01414.79
7.3.10.0060.00916.42
7.3.00.0070.00716.64
7.2.330.0110.01116.69
7.2.320.0070.01017.07
7.2.310.0120.01116.76
7.2.300.0040.01416.96
7.2.290.0090.00916.57
7.2.130.0120.00016.77
7.2.120.0040.00716.36
7.2.110.0030.00916.87
7.2.100.0060.00616.88
7.2.90.0040.00717.09
7.2.80.0030.00616.91
7.2.70.0140.00716.66
7.2.60.0030.00716.95
7.2.50.0170.00416.88
7.2.40.0070.00717.24
7.2.30.0100.00716.95
7.2.20.0080.00817.09
7.2.10.0000.01516.88
7.2.00.0030.01417.85
7.1.250.0000.00915.47
7.1.100.0190.00417.98
7.1.70.0120.00417.35
7.1.60.0060.01919.31
7.1.50.0070.01017.07
7.1.00.0070.04722.57
7.0.200.0170.00016.44
7.0.140.0030.07322.20
7.0.120.0000.04022.20
7.0.60.0100.05320.27
7.0.50.0030.08317.87
7.0.40.0070.07320.48
7.0.30.0230.04320.24
7.0.20.0270.08320.36
7.0.10.0130.07320.31
7.0.00.0100.06320.31
5.6.280.0000.07321.24
5.6.210.0030.05020.97
5.6.200.0100.08318.37
5.6.190.0070.04320.82
5.6.180.3530.04720.57
5.6.170.0200.08320.56
5.6.160.0030.06720.77
5.6.150.0030.04318.26
5.6.140.0100.07018.36
5.6.130.0130.07018.36
5.6.120.0030.05721.24
5.6.110.0070.08721.27
5.6.100.0070.09021.27
5.6.90.0070.09021.26
5.6.80.0070.07020.59
5.6.70.3500.03320.66
5.5.350.0100.07720.70
5.5.340.0130.07318.13
5.5.330.0100.03720.50
5.5.320.0300.06720.39
5.5.310.0230.05320.36
5.5.300.0000.05318.18
5.5.290.0170.07718.18
5.5.280.0130.07720.94
5.5.270.0270.06321.05
5.5.260.0130.07020.82
5.5.250.0070.07320.90
5.5.240.0170.03020.34
5.4.450.0000.05719.60
5.4.440.0000.06719.61
5.4.430.0070.05019.71
5.4.420.0030.05719.26
5.4.410.0130.05019.50
5.4.400.0070.08319.01
5.4.390.0130.03719.36
5.4.380.0070.05319.30
5.4.370.0100.06319.31
5.4.360.0000.05019.39
5.4.350.0030.05019.13
5.4.340.0100.04319.39
5.4.320.0100.04319.00
5.4.310.0200.04019.46
5.4.300.0130.05019.39
5.4.290.0100.07719.30
5.4.280.0100.07319.39
5.4.270.0070.07319.01
5.4.260.0070.06319.32
5.4.250.0070.04019.22
5.4.240.0070.06019.41
5.4.230.0130.03719.13
5.4.220.0100.05719.42
5.4.210.0030.07719.29
5.4.200.0070.06319.26
5.4.190.0030.06319.38
5.4.180.0070.07719.38
5.4.170.0100.07319.28
5.4.160.0130.05319.34
5.4.150.0130.07019.37
5.4.140.0030.04316.44
5.4.130.0030.03716.54
5.4.120.0170.06716.54
5.4.110.0070.04716.59
5.4.100.0070.07716.56
5.4.90.0070.07016.50
5.4.80.0030.07316.47
5.4.70.0100.07016.79
5.4.60.0100.07316.61
5.4.50.0000.05016.58
5.4.40.0100.04016.78
5.4.30.0070.07716.46
5.4.20.0100.06716.50
5.4.10.0000.07316.45
5.4.00.0130.07016.13
5.3.290.0100.07314.70
5.3.280.0030.06014.63
5.3.270.0070.07714.64
5.3.260.0070.07714.77
5.3.250.0070.07714.63
5.3.240.0070.03314.77
5.3.230.0070.07314.64
5.3.220.0070.03714.70
5.3.210.0030.08014.76
5.3.200.0070.06314.77
5.3.190.0070.05314.73
5.3.180.0030.06014.82
5.3.170.0100.06714.71
5.3.160.0070.03714.77
5.3.150.0130.04014.80
5.3.140.0070.07314.79
5.3.130.0000.05714.62
5.3.120.0000.07714.66
5.3.110.0130.06714.75
5.3.100.0030.05314.28
5.3.90.0100.05714.16
5.3.80.0030.07714.18
5.3.70.0000.08314.12
5.3.60.0070.07314.00
5.3.50.0130.06714.15
5.3.40.0130.06314.11
5.3.30.0170.06014.03
5.3.20.0130.06713.85
5.3.10.0130.05013.64
5.3.00.0070.04013.64
5.2.170.0100.03311.18
5.2.160.0100.05711.36
5.2.150.0070.05011.38
5.2.140.0030.06311.21
5.2.130.0070.03311.30
5.2.120.0070.05311.41
5.2.110.0070.05711.16
5.2.100.0170.05311.24
5.2.90.0000.05011.14
5.2.80.0070.05711.13
5.2.70.0000.06011.32
5.2.60.0070.06311.20
5.2.50.0130.04711.18
5.2.40.0030.03311.30
5.2.30.0000.03311.13
5.2.20.0070.06311.18
5.2.10.0170.03311.14
5.2.00.0170.05310.83
5.1.60.0070.02710.05
5.1.50.0100.02710.21
5.1.40.0070.02310.15
5.1.30.0070.05310.61
5.1.20.0070.05310.46
5.1.10.0000.05310.22
5.1.00.0070.03010.33
5.0.50.0000.0308.81
5.0.40.0000.0438.58
5.0.30.0000.0638.58
5.0.20.0100.0178.58
5.0.10.0070.0408.58
5.0.00.0030.0408.58
4.4.90.0030.0208.58
4.4.80.0030.0378.58
4.4.70.0030.0308.58
4.4.60.0070.0208.58
4.4.50.0000.0208.58
4.4.40.0030.0378.58
4.4.30.0030.0208.58
4.4.20.0030.0238.58
4.4.10.0030.0178.58
4.4.00.0030.0578.58
4.3.110.0030.0208.58
4.3.100.0000.0378.58
4.3.90.0070.0308.58
4.3.80.0030.0238.58
4.3.70.0030.0338.58
4.3.60.0100.0208.58
4.3.50.0070.0338.58
4.3.40.0000.0438.58
4.3.30.0000.0278.58
4.3.20.0000.0378.58
4.3.10.0070.0278.58
4.3.00.0070.0238.58

preferences:
43.46 ms | 401 KiB | 5 Q