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="F2 Championship" lastUpdateDate="2012-11-26" lastUpdateTime="16:17:33" /> </class> </jonny> </response> XML; $xml = simplexml_load_string($x); list($test) = $xml->xpath("//type/@name"); echo $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.60.0140.00718.39
8.3.50.0090.00916.61
8.3.40.0110.00719.08
8.3.30.0100.00719.52
8.3.20.0050.00320.61
8.3.10.0000.00822.20
8.3.00.0000.00822.84
8.2.180.0120.00417.00
8.2.170.0150.00022.96
8.2.160.0070.01320.86
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0160.00326.16
8.2.120.0050.00320.04
8.2.110.0090.00022.40
8.2.100.0000.01119.63
8.2.90.0040.00419.55
8.2.80.0000.00918.30
8.2.70.0060.00317.97
8.2.60.0060.00318.18
8.2.50.0080.00018.07
8.2.40.0050.00318.47
8.2.30.0040.00418.54
8.2.20.0080.00018.05
8.2.10.0000.00818.07
8.2.00.0000.00818.06
8.1.270.0080.00020.70
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00024.21
8.1.230.0090.00619.42
8.1.220.0040.00418.04
8.1.210.0030.00518.77
8.1.200.0060.00317.63
8.1.190.0000.00817.80
8.1.180.0030.00518.94
8.1.170.0000.00819.02
8.1.160.0000.00722.47
8.1.150.0070.00318.96
8.1.140.0050.00217.76
8.1.130.0030.00318.10
8.1.120.0070.00017.61
8.1.110.0050.00317.73
8.1.100.0000.00717.59
8.1.90.0020.00517.77
8.1.80.0030.00517.75
8.1.70.0000.00717.77
8.1.60.0060.00317.70
8.1.50.0070.00017.88
8.1.40.0040.00417.87
8.1.30.0000.00817.98
8.1.20.0040.00418.04
8.1.10.0000.00817.78
8.1.00.0090.00317.91
8.0.300.0030.00618.77
8.0.290.0000.00817.43
8.0.280.0000.00718.78
8.0.270.0000.00717.21
8.0.260.0000.00617.19
8.0.250.0030.00317.23
8.0.240.0040.00417.39
8.0.230.0070.00017.35
8.0.220.0030.00317.09
8.0.210.0030.00617.24
8.0.200.0030.00317.36
8.0.190.0000.00817.37
8.0.180.0080.00017.11
8.0.170.0070.00017.12
8.0.160.0000.00717.04
8.0.150.0000.00717.10
8.0.140.0040.00417.05
8.0.130.0000.00613.51
8.0.120.0000.00817.05
8.0.110.0000.00817.31
8.0.100.0040.00417.02
8.0.90.0000.00717.16
8.0.80.0060.01017.24
8.0.70.0040.00417.11
8.0.60.0000.00717.19
8.0.50.0050.00217.21
8.0.30.0090.01217.23
8.0.20.0100.00817.40
8.0.10.0070.00017.31
8.0.00.0090.00916.91
7.4.330.0000.00515.00
7.4.320.0060.00016.92
7.4.300.0030.00316.80
7.4.290.0030.00516.89
7.4.280.0030.00316.91
7.4.270.0000.00716.84
7.4.260.0040.00416.81
7.4.250.0020.00516.67
7.4.240.0000.00716.88
7.4.230.0030.00316.80
7.4.220.0110.00716.89
7.4.210.0080.00816.84
7.4.200.0030.00316.85
7.4.190.0070.00016.74
7.4.160.0030.01317.04
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0110.00816.73
7.4.120.0100.00816.99
7.4.110.0120.00616.70
7.4.100.0130.00717.01
7.4.90.0090.01516.79
7.4.80.0120.00919.39
7.4.70.0000.01716.82
7.4.60.0060.01116.94
7.4.50.0060.00316.77
7.4.40.0000.01122.77
7.4.30.0030.01316.87
7.4.00.0070.00815.19
7.3.330.0050.00013.49
7.3.320.0000.00513.56
7.3.310.0030.00316.45
7.3.300.0070.00016.67
7.3.290.0130.00716.57
7.3.280.0070.01116.63
7.3.270.0070.01717.40
7.3.260.0130.00416.96
7.3.250.0130.01016.78
7.3.240.0090.01516.76
7.3.230.0100.01016.86
7.3.210.0060.01116.72
7.3.200.0070.01319.39
7.3.190.0150.00316.77
7.3.180.0110.00716.82
7.3.170.0030.01316.74
7.3.160.0080.00816.77
7.3.120.0090.00914.83
7.3.110.0070.01114.89
7.3.100.0100.00614.95
7.3.90.0070.00714.89
7.3.80.0040.00914.90
7.3.70.0030.01214.78
7.3.60.0100.00015.29
7.3.50.0060.00915.07
7.3.40.0070.01014.93
7.3.30.0100.00714.89
7.3.20.0060.00316.95
7.3.10.0090.00317.02
7.3.00.0110.00616.70
7.2.330.0080.00816.81
7.2.320.0150.00416.80
7.2.310.0120.00616.91
7.2.300.0080.00816.86
7.2.290.0060.01016.68
7.2.250.0070.01115.13
7.2.240.0040.01515.04
7.2.230.0100.00714.96
7.2.220.0030.01014.68
7.2.210.0000.01015.14
7.2.200.0060.00615.11
7.2.190.0030.01315.08
7.2.180.0060.00315.13
7.2.170.0080.00815.04
7.2.00.0310.00518.94
7.1.330.0090.00315.96
7.1.320.0130.00015.84
7.1.310.0000.01715.77
7.1.300.0060.00316.05
7.1.290.0080.00816.20
7.1.280.0120.00016.09
7.1.270.0030.01015.89
7.1.260.0040.00716.18
7.1.100.0000.01117.97
7.1.70.0040.00417.20
7.1.60.0100.01319.82
7.1.50.0070.01017.16
7.1.00.0030.06722.49
7.0.200.0000.00717.10
7.0.140.0000.07722.25
7.0.100.0030.05720.09
7.0.90.0070.04020.27
7.0.80.0000.04020.23
7.0.70.0030.04020.10
7.0.60.0030.04020.03
7.0.50.0100.03020.47
7.0.40.0030.04720.22
7.0.30.0030.03320.17
7.0.20.0070.04020.23
7.0.10.0030.04720.16
7.0.00.0070.05720.25
5.6.280.0000.07721.13
5.6.250.0170.03020.84
5.6.240.0100.03720.89
5.6.230.0030.05020.74
5.6.220.0030.04320.73
5.6.210.0000.04320.83
5.6.200.0000.04721.23
5.6.190.0070.03721.25
5.6.180.0030.04021.30
5.6.170.0130.03321.16
5.6.160.0030.04321.13
5.6.150.0100.03321.35
5.6.140.0100.08021.30
5.6.130.0130.07721.19
5.6.120.0030.06721.20
5.6.110.0100.08021.15
5.6.100.0130.08021.34
5.6.90.0130.08321.19
5.6.80.0130.07720.61
5.6.70.0130.04020.52
5.6.60.0070.07020.59
5.6.50.0100.06320.52
5.6.40.0170.06320.54
5.6.30.0170.07020.71
5.6.20.0030.08320.61
5.6.10.0070.08320.48
5.6.00.0100.07020.52
5.5.380.0070.04020.57
5.5.370.0000.04320.48
5.5.360.0070.03720.52
5.5.350.0070.03020.53
5.5.340.0030.06721.04
5.5.330.0000.04321.05
5.5.320.0100.03721.09
5.5.310.0030.04321.07
5.5.300.0070.08721.01
5.5.290.0070.05320.99
5.5.280.0030.06320.86
5.5.270.0030.08321.00
5.5.260.0100.06021.07
5.5.250.0100.07020.80
5.5.240.0100.07320.48
5.5.230.0100.08020.45
5.5.220.0100.07320.45
5.5.210.0030.07020.44
5.5.200.0170.06320.42
5.5.190.0100.07320.26
5.5.180.0100.07720.41
5.5.160.0070.07320.46
5.5.150.0170.03320.42
5.5.140.0170.05320.35
5.5.130.0100.04320.42
5.5.120.0030.06320.26
5.5.110.0030.07720.45
5.5.100.0130.07020.34
5.5.90.0100.07320.31
5.5.80.0070.05720.28
5.5.70.0070.08020.27
5.5.60.0100.06720.29
5.5.50.0130.07320.34
5.5.40.0100.07720.34
5.5.30.0070.07720.29
5.5.20.0030.08720.27
5.5.10.0000.08020.14
5.5.00.0030.06320.27
5.4.450.0070.08719.61
5.4.440.0070.07019.60
5.4.430.0030.07319.59
5.4.420.0100.07319.36
5.4.410.0070.06019.50
5.4.400.0100.07319.20
5.4.390.0000.05319.29
5.4.380.0030.07019.18
5.4.370.0100.06719.19
5.4.360.0030.05319.23
5.4.350.0030.06319.27
5.4.340.0070.08019.22
5.4.320.0070.07719.25
5.4.310.0070.07719.20
5.4.300.0130.07019.29
5.4.290.0130.06719.10
5.4.280.0200.06318.99
5.4.270.0030.08019.44
5.4.260.0100.06718.96
5.4.250.0170.07019.23
5.4.240.0130.07019.02
5.4.230.0070.07719.11
5.4.220.0200.06319.11
5.4.210.0100.07019.40
5.4.200.0070.07719.28
5.4.190.0170.06319.22
5.4.180.0030.06319.44
5.4.170.0170.06719.43
5.4.160.0170.06319.16
5.4.150.0100.08019.25
5.4.140.0170.06716.25
5.4.130.0100.06316.38
5.4.120.0030.07716.51
5.4.110.0070.05016.50
5.4.100.0000.07316.43
5.4.90.0200.06016.43
5.4.80.0070.05316.40
5.4.70.0070.06716.38
5.4.60.0070.07016.51
5.4.50.0130.04316.33
5.4.40.0070.04016.62
5.4.30.0000.06316.47
5.4.20.0070.05716.37
5.4.10.0070.06716.50
5.4.00.0130.03716.01
5.3.290.0100.06714.82
5.3.280.0100.06314.79
5.3.270.0000.08314.82
5.3.260.0070.07314.73
5.3.250.0070.07314.81
5.3.240.0030.04714.81
5.3.230.0000.08314.79
5.3.220.0200.05714.68
5.3.210.0030.08314.57
5.3.200.0100.07014.76
5.3.190.0070.07014.63
5.3.180.0100.07014.68
5.3.170.0030.07314.67
5.3.160.0100.06714.56
5.3.150.0200.06314.56
5.3.140.0030.07014.66
5.3.130.0070.06714.68
5.3.120.0170.06314.73
5.3.110.0070.04714.54
5.3.100.0100.07714.05
5.3.90.0130.03314.14
5.3.80.0030.05714.15
5.3.70.0130.03314.16
5.3.60.0030.08014.17
5.3.50.0100.04714.11
5.3.40.0130.06714.14
5.3.30.0070.07014.11
5.3.20.0030.07013.66
5.3.10.0000.04013.87
5.3.00.0030.03713.70
5.2.170.0070.07011.14
5.2.160.0070.05311.41
5.2.150.0030.04311.38
5.2.140.0030.04311.25
5.2.130.0070.03711.12
5.2.120.0100.05311.34
5.2.110.0000.03711.16
5.2.100.0070.02711.21
5.2.90.0030.06311.37
5.2.80.0000.03311.13
5.2.70.0070.03711.34
5.2.60.0030.03011.18
5.2.50.0030.03311.08
5.2.40.0030.02711.16
5.2.30.0030.05011.18
5.2.20.0070.05011.14
5.2.10.0030.06011.11
5.2.00.0000.06310.79
5.1.60.0030.05010.16
5.1.50.0030.03010.24
5.1.40.0070.03310.05
5.1.30.0030.05310.58
5.1.20.0100.05710.62
5.1.10.0070.05010.32
5.1.00.0070.03710.28
5.0.50.0100.0378.82
5.0.40.0000.0408.66
5.0.30.0030.0608.43
5.0.20.0030.0178.42
5.0.10.0030.0208.42
5.0.00.0100.0338.50
4.4.90.0000.0378.28
4.4.80.0000.0338.28
4.4.70.0000.0378.28
4.4.60.0000.0208.28
4.4.50.0030.0338.28
4.4.40.0000.0508.28
4.4.30.0070.0108.28
4.4.20.0030.0408.28
4.4.10.0070.0308.28
4.4.00.0000.0538.28
4.3.110.0030.0338.28
4.3.100.0000.0178.28
4.3.90.0000.0378.28
4.3.80.0030.0378.28
4.3.70.0030.0178.28
4.3.60.0070.0138.28
4.3.50.0030.0338.28
4.3.40.0000.0438.28
4.3.30.0030.0308.28
4.3.20.0100.0108.28
4.3.10.0000.0278.28
4.3.00.0100.0108.28

preferences:
62.01 ms | 400 KiB | 5 Q