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); list($test) = $xml->xpath("//type/@name/@lastUpdateDate"); 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.0070.00718.68
8.3.50.0120.00822.04
8.3.40.0130.01019.35
8.3.30.0140.00019.34
8.3.20.0040.00420.72
8.3.10.0040.00423.99
8.3.00.0060.00619.76
8.2.180.0110.00417.00
8.2.170.0110.00422.96
8.2.160.0090.00620.72
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00422.61
8.2.110.0050.00522.69
8.2.100.0040.00718.00
8.2.90.0050.00319.73
8.2.80.0000.00818.00
8.2.70.0030.00618.00
8.2.60.0080.00318.30
8.2.50.0030.00518.07
8.2.40.0040.00418.50
8.2.30.0040.00418.54
8.2.20.0030.00518.14
8.2.10.0080.00018.38
8.2.00.0040.00417.94
8.1.280.0130.01025.92
8.1.270.0050.00322.47
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00724.17
8.1.230.0030.00921.20
8.1.220.0050.00318.16
8.1.210.0070.00318.77
8.1.200.0060.00317.60
8.1.190.0000.00817.36
8.1.180.0060.00218.10
8.1.170.0060.00618.96
8.1.160.0080.00022.11
8.1.150.0000.00719.07
8.1.140.0020.00517.63
8.1.130.0030.00318.23
8.1.120.0030.00317.80
8.1.110.0000.00717.56
8.1.100.0080.00017.80
8.1.90.0030.00717.53
8.1.80.0070.00017.77
8.1.70.0080.00017.54
8.1.60.0060.00317.75
8.1.50.0030.00617.67
8.1.40.0070.00017.81
8.1.30.0060.00317.76
8.1.20.0000.00817.96
8.1.10.0080.00018.01
8.1.00.0080.00017.95
8.0.300.0040.00418.77
8.0.290.0060.00317.13
8.0.280.0070.00018.81
8.0.270.0000.00717.54
8.0.260.0030.00318.77
8.0.250.0000.00717.46
8.0.240.0000.00717.31
8.0.230.0030.00517.17
8.0.220.0000.00717.26
8.0.210.0040.00417.28
8.0.200.0000.00617.10
8.0.190.0070.00017.12
8.0.180.0000.00717.32
8.0.170.0040.00417.33
8.0.160.0050.00217.16
8.0.150.0040.00417.04
8.0.140.0000.00817.11
8.0.130.0000.00513.74
8.0.120.0040.00417.24
8.0.110.0040.00417.02
8.0.100.0040.00417.04
8.0.90.0000.00717.34
8.0.80.0130.00317.02
8.0.70.0000.00817.17
8.0.60.0000.00717.16
8.0.50.0000.00717.19
8.0.30.0090.01317.46
8.0.20.0090.01017.62
8.0.10.0030.00317.21
8.0.00.0080.00817.04
7.4.330.0000.00615.02
7.4.320.0020.00516.82
7.4.300.0000.00616.81
7.4.290.0000.00716.75
7.4.280.0050.00316.93
7.4.270.0070.00016.91
7.4.260.0040.00416.79
7.4.250.0070.00016.71
7.4.240.0040.00316.69
7.4.230.0000.00616.67
7.4.220.0070.01516.83
7.4.210.0060.00916.82
7.4.200.0030.00516.99
7.4.160.0170.00317.09
7.4.150.0060.01217.40
7.4.140.0100.01117.86
7.4.130.0050.01216.73
7.4.120.0170.00416.77
7.4.110.0210.00017.06
7.4.100.0060.01316.74
7.4.90.0070.01016.98
7.4.80.0100.01019.39
7.4.70.0050.01316.79
7.4.60.0070.01416.66
7.4.50.0040.00416.67
7.4.40.0140.00316.73
7.4.30.0090.00916.90
7.4.00.0070.01015.26
7.3.330.0030.00313.57
7.3.320.0030.00313.37
7.3.310.0030.00316.50
7.3.300.0030.00316.61
7.3.290.0100.00616.61
7.3.280.0090.00916.68
7.3.270.0040.01817.40
7.3.260.0110.00816.83
7.3.250.0060.01116.77
7.3.240.0160.00716.66
7.3.230.0030.01316.78
7.3.210.0060.00916.96
7.3.200.0070.01019.39
7.3.190.0000.01616.93
7.3.180.0090.00916.70
7.3.170.0410.01016.71
7.3.160.0100.00616.77
7.2.330.0110.00717.14
7.2.320.0130.01316.85
7.2.310.0080.00816.94
7.2.300.0030.01417.03
7.2.290.0070.01116.55
7.2.00.0070.00719.59
7.1.100.1290.00412.03
7.1.70.0000.01117.39
7.1.60.0170.00719.32
7.1.50.0060.00917.07
7.1.00.0100.06722.62
7.0.200.0090.00616.79
7.0.140.0000.07022.23
7.0.60.0070.03720.13
7.0.50.0030.05718.05
7.0.40.0130.03320.24
7.0.30.0330.05320.38
7.0.20.0330.05320.31
7.0.10.0100.08320.21
7.0.00.0030.07720.39
5.6.280.0000.08021.20
5.6.210.0000.05320.97
5.6.200.0030.04318.37
5.6.190.0030.04720.85
5.6.180.0200.08320.50
5.6.170.0300.07720.75
5.6.160.0070.04020.60
5.6.150.0070.03718.27
5.6.140.0100.08018.26
5.6.130.0070.06718.29
5.6.120.0030.09021.21
5.6.110.0030.04721.12
5.6.100.0070.07321.27
5.6.90.0070.03721.14
5.6.80.0130.07320.66
5.6.70.3230.03020.46
5.5.350.0230.08020.61
5.5.340.0000.08718.13
5.5.330.0030.07020.68
5.5.320.0270.06020.54
5.5.310.0370.07320.66
5.5.300.0100.03018.16
5.5.290.0100.04318.20
5.5.280.0100.08020.99
5.5.270.0130.07320.97
5.5.260.0100.08320.98
5.5.250.0100.08020.83
5.5.240.0300.02720.30
5.4.450.0200.04319.38
5.4.440.0930.05019.70
5.4.430.0930.06719.79
5.4.420.0130.05319.61
5.4.410.0770.06019.60
5.4.400.1000.05719.28
5.4.390.0970.05719.29
5.4.380.0470.05719.37
5.4.370.0870.06319.51
5.4.360.0930.06719.43
5.4.350.0870.06319.46
5.4.340.0030.03612.21
5.4.320.0050.03712.70
5.4.310.0080.03612.70
5.4.300.0090.03412.70
5.4.290.0100.03312.70
5.4.280.0070.03412.60
5.4.270.0130.02912.59
5.4.260.0080.03512.60
5.4.250.0070.03612.60
5.4.240.0050.03712.59
5.4.230.0060.03812.59
5.4.220.0090.03312.59
5.4.210.0090.03212.59
5.4.200.0090.03512.59
5.4.190.0090.03412.58
5.4.180.0090.03312.59
5.4.170.0060.03612.60
5.4.160.0060.03612.59
5.4.150.0040.03812.59
5.4.140.0070.03612.27
5.4.130.0080.03312.26
5.4.120.0070.03412.21
5.4.110.0060.03512.21
5.4.100.0060.03412.21
5.4.90.0090.03412.22
5.4.80.0050.03712.21
5.4.70.0090.03112.21
5.4.60.0060.03412.21
5.4.50.0050.03512.21
5.4.40.0050.03412.20
5.4.30.0090.03312.19
5.4.20.0040.04312.19
5.4.10.0070.03212.20
5.4.00.0060.03511.68
5.3.290.0080.03712.97
5.3.280.0050.03812.90
5.3.270.0070.03712.91
5.3.260.0080.03712.91
5.3.250.0050.03712.90
5.3.240.0080.03512.90
5.3.230.0080.03712.89
5.3.220.0100.03212.86
5.3.210.0070.03612.87
5.3.200.0070.03912.86
5.3.190.0080.03412.87
5.3.180.0090.03912.86
5.3.170.0120.03412.86
5.3.160.0080.03712.86
5.3.150.0040.03812.86
5.3.140.0080.03412.85
5.3.130.0070.03912.84
5.3.120.0040.04212.85
5.3.110.0060.03912.85
5.3.100.0050.03612.34
5.3.90.0080.03712.32
5.3.80.0070.03812.31
5.3.70.0040.04012.31
5.3.60.0060.03412.30
5.3.50.0090.03912.24
5.3.40.0090.03212.24
5.3.30.0080.03212.21
5.3.20.0080.03211.98
5.3.10.0050.03511.95
5.3.00.0070.03511.93
5.2.170.0080.0339.44
5.2.160.0040.0359.45
5.2.150.0110.0289.45
5.2.140.0090.0309.44
5.2.130.0090.0269.40
5.2.120.0020.0309.39
5.2.110.0050.0289.40
5.2.100.0040.0299.40
5.2.90.0000.0339.40
5.2.80.0040.0309.39
5.2.70.0080.0269.39
5.2.60.0090.0269.34
5.2.50.0040.0309.31
5.2.40.0010.0329.29
5.2.30.0050.0299.27
5.2.20.0060.0329.27
5.2.10.0070.0249.20
5.2.00.0080.0329.05
5.1.60.0040.0248.33
5.1.50.0040.0248.33
5.1.40.0030.0278.32
5.1.30.0040.0268.66
5.1.20.0050.0258.68
5.1.10.0070.0258.40
5.1.00.0030.0268.41
5.0.50.0040.0246.88
5.0.40.0010.0296.74
5.0.30.0050.0306.55
5.0.20.0030.0196.53
5.0.10.0030.0256.50
5.0.00.0040.0296.49
4.4.90.0020.0174.78
4.4.80.0020.0154.75
4.4.70.0030.0154.75
4.4.60.0040.0144.75
4.4.50.0020.0164.77
4.4.40.0040.0244.71
4.4.30.0020.0164.76
4.4.20.0040.0144.85
4.4.10.0070.0114.85
4.4.00.0010.0254.76
4.3.110.0020.0154.66
4.3.100.0060.0164.67
4.3.90.0040.0144.63
4.3.80.0040.0314.58
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0010.0214.62
4.3.40.0010.0294.54
4.3.30.0030.0153.30
4.3.20.0010.0173.28
4.3.10.0010.0163.23
4.3.00.0070.0307.21

preferences:
47.16 ms | 400 KiB | 5 Q