3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <root> <item id="images"> <images handle="kings-of-leon_poster_v02_webjpg" path="workspace/assets/uploads/" type="file">kings of leon_poster_v02_WEB.jpg</images> </item> <item id="about"> <page-name handle="new-age" type="page-name">New Age</page-name> </item> <item id="about"> <page-name handle="new-age-2" type="page-name">New Age 2</page-name> </item> <item id="images"> <images handle="aae_seating-plan_v01jpg" path="workspace/assets/uploads/" type="file">AAE_Seating-plan_v01.jpg</images> </item> <item id="images"> <images handle="evidence-of-communication-between-myself-and-external-sourcespng" path="workspace/assets/uploads/" type="file">evidence-of-communication-between-myself-and-external-sources.png</images> </item> </root> '; $sxe = simplexml_load_string($xml); $doc = dom_import_simplexml ($sxe); $dom = new DOMDocument('1.0'); $xpath = new DOMXPath($dom); $doc = $dom->importNode($doc, true); $doc = $dom->appendChild($doc); $res1 = $xpath->query('/root/*[./@handle = "kings-of-leon_poster_v02_webjpg"]'); var_dump($res1); $item = $res1;

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.0060.00917.00
8.3.50.0130.00817.73
8.3.40.0090.00618.96
8.3.30.0120.00418.79
8.3.20.0040.00418.98
8.3.10.0060.00320.73
8.3.00.0040.00419.51
8.2.180.0060.00917.00
8.2.170.0150.00022.96
8.2.160.0030.01020.68
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.33
8.2.110.0100.00022.67
8.2.100.0030.01018.03
8.2.90.0030.00621.20
8.2.80.0080.00018.05
8.2.70.0000.00817.75
8.2.60.0080.00418.05
8.2.50.0060.00318.07
8.2.40.0030.00518.53
8.2.30.0000.00818.20
8.2.20.0060.00317.95
8.2.10.0060.00318.01
8.2.00.0050.00518.07
8.1.280.0150.00025.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0110.00728.09
8.1.240.0100.00019.56
8.1.230.0120.00021.40
8.1.220.0050.00318.05
8.1.210.0090.00019.30
8.1.200.0000.00917.73
8.1.190.0000.00917.90
8.1.180.0050.00318.10
8.1.170.0040.00419.16
8.1.160.0050.00219.30
8.1.150.0000.00718.87
8.1.140.0000.01017.71
8.1.130.0000.00718.29
8.1.120.0070.00017.89
8.1.110.0070.00017.85
8.1.100.0000.00717.83
8.1.90.0030.00517.70
8.1.80.0070.00017.60
8.1.70.0070.00017.83
8.1.60.0030.00518.00
8.1.50.0060.00317.84
8.1.40.0030.00517.74
8.1.30.0000.00718.04
8.1.20.0080.00017.84
8.1.10.0050.00317.79
8.1.00.0000.00717.67
8.0.300.0040.00420.17
8.0.290.0040.00416.75
8.0.280.0030.00318.75
8.0.270.0070.00017.50
8.0.260.0000.00717.13
8.0.250.0000.00817.35
8.0.240.0040.00417.31
8.0.230.0030.00317.13
8.0.220.0040.00417.24
8.0.210.0030.00617.30
8.0.200.0040.00417.07
8.0.190.0000.00817.16
8.0.180.0040.00417.27
8.0.170.0060.00317.25
8.0.160.0000.00717.07
8.0.150.0000.00917.29
8.0.140.0000.00817.04
8.0.130.0000.00613.72
8.0.120.0000.00816.97
8.0.110.0040.00417.13
8.0.100.0050.00217.27
8.0.90.0000.00817.16
8.0.80.0070.01017.13
8.0.70.0040.00417.12
8.0.60.0080.00017.10
8.0.50.0070.00017.04
8.0.30.0100.01117.22
8.0.20.0080.01317.40
8.0.10.0040.00417.25
8.0.00.0080.01116.85
7.4.330.0030.00313.34
7.4.320.0030.00316.73
7.4.300.0000.00616.94
7.4.290.0020.00516.84
7.4.280.0030.00516.87
7.4.270.0000.00816.84
7.4.260.0030.00313.59
7.4.250.0000.00816.85
7.4.240.0070.00016.81
7.4.230.0000.00816.83
7.4.220.0130.00616.72
7.4.210.0060.01016.90
7.4.200.0040.00417.04
7.4.190.0040.00416.73
7.4.160.0030.01316.80
7.4.150.0130.00916.73
7.4.140.0130.00516.78
7.4.130.0100.00816.66
7.4.120.0060.01116.93
7.4.110.0160.00716.89
7.4.100.0100.00716.73
7.4.90.0090.01216.67
7.4.80.0160.00916.77
7.4.70.0150.00316.68
7.4.60.0040.01316.83
7.4.50.0000.00516.75
7.4.40.0000.01316.75
7.4.30.0130.00316.66
7.4.00.0080.00815.13
7.3.330.0030.00313.46
7.3.320.0030.00313.38
7.3.310.0070.00016.50
7.3.300.0070.00016.52
7.3.290.0070.00716.54
7.3.280.0070.01016.61
7.3.270.0240.00016.74
7.3.260.0030.01316.80
7.3.250.0140.00716.53
7.3.240.0130.00916.63
7.3.230.0030.01516.70
7.3.210.0110.00716.53
7.3.200.0070.01419.39
7.3.190.0030.01416.79
7.3.180.0100.00716.78
7.3.170.0120.00616.73
7.3.160.0090.01216.79
7.3.120.0040.01214.93
7.3.110.0110.00415.21
7.3.100.0000.01514.81
7.3.90.0000.01014.84
7.3.80.0070.00715.00
7.3.70.0070.00714.60
7.3.60.0030.01314.91
7.3.50.0150.00014.97
7.3.40.0000.01414.80
7.3.30.0030.01414.84
7.3.20.0060.00916.90
7.3.10.0030.00916.51
7.3.00.0060.00516.65
7.2.330.0100.00616.61
7.2.320.0110.00716.89
7.2.310.0120.00916.63
7.2.300.0100.00716.82
7.2.290.0080.01116.74
7.2.240.0000.01714.78
7.2.230.0060.00615.34
7.2.220.0090.00615.24
7.2.210.0000.01415.36
7.2.200.0070.01115.14
7.2.190.0030.01015.06
7.2.180.0030.01414.95
7.2.170.0090.00915.21
7.2.160.0060.01114.76
7.2.150.0030.00916.79
7.2.140.0100.00716.95
7.2.130.0030.01016.76
7.2.120.0050.00917.11
7.2.110.0090.00416.77
7.2.100.0070.00416.90
7.2.90.0100.00516.98
7.2.80.0090.00317.07
7.2.70.0060.00816.89
7.2.60.0050.01017.07
7.2.50.0030.01117.06
7.2.40.0060.00917.04
7.2.30.0040.01016.89
7.2.20.0050.00816.88
7.2.10.0050.01217.01
7.2.00.0080.00617.79
7.1.330.0080.00816.09
7.1.320.0030.01415.97
7.1.310.0000.01115.75
7.1.300.0080.00415.86
7.1.290.0040.01116.03
7.1.280.0030.01315.66
7.1.270.0060.00615.82
7.1.260.0030.01015.99
7.1.250.0110.00515.90
7.1.100.0060.00618.54
7.1.70.0000.01017.44
7.1.60.0000.01117.00
7.1.50.0040.01516.88
7.1.00.0130.07022.59
7.0.200.0000.01616.89
7.0.140.0030.07322.26
7.0.120.0030.07322.24
7.0.60.0130.07720.16
7.0.50.0030.07018.13
7.0.40.0200.07720.49
7.0.30.0270.03720.40
7.0.20.0300.07020.23
7.0.10.0070.04320.23
7.0.00.0070.04320.33
5.6.280.0000.07721.23
5.6.210.0270.06321.00
5.6.200.0070.05318.38
5.6.190.0030.08320.55
5.6.180.0170.08020.62
5.6.170.0300.07320.87
5.6.160.0000.05720.71
5.6.150.0030.05318.43
5.6.140.0100.07718.30
5.6.130.0030.04718.29
5.6.120.0070.07721.18
5.6.110.0070.08021.21
5.6.100.0070.08721.25
5.6.90.0130.06321.15
5.6.80.0070.03720.47
5.5.350.0030.07020.50
5.5.340.0170.06718.18
5.5.330.0070.08320.31
5.5.320.0170.05020.58
5.5.310.0330.08020.43
5.5.300.0100.08318.20
5.5.290.0130.04718.17
5.5.280.0100.08021.10
5.5.270.0030.05020.96
5.5.260.0100.07020.95
5.5.250.0070.07020.94
5.5.240.0230.06720.35
5.4.450.0200.04319.64
5.4.440.0200.05719.73
5.4.430.0370.03319.49
5.4.420.0230.06319.61
5.4.410.0200.06319.28
5.4.400.0170.05019.36
5.4.390.0230.06719.08
5.4.380.0100.07319.25
5.4.370.0170.03719.36
5.4.360.0230.07319.30
5.4.350.0200.07719.47
5.4.340.0270.04719.05
5.4.320.0330.06719.36
5.4.310.0270.07019.29
5.4.300.0270.06719.24
5.4.290.0330.05719.38
5.4.280.0170.04019.15
5.4.270.0230.06719.09
5.4.260.0200.07019.29
5.4.250.0170.04719.22
5.4.240.0170.07719.23
5.4.230.0270.07019.09
5.4.220.0100.04319.09
5.4.210.0100.04319.14
5.4.200.0200.04319.40
5.4.190.0200.04719.16
5.4.180.0200.06319.40
5.4.170.0170.07719.47
5.4.160.0130.05019.02
5.4.150.0230.07019.45
5.4.140.0200.07316.51
5.4.130.0230.02716.68
5.4.120.0170.05316.54
5.4.110.0330.05016.68
5.4.100.0230.04716.54
5.4.90.0200.07316.31
5.4.80.0330.06716.52
5.4.70.0170.04016.66
5.4.60.0170.04316.60
5.4.50.0300.06016.49
5.4.40.0300.06316.66
5.4.30.0300.06316.58
5.4.20.0200.05716.57
5.4.10.0170.05316.50
5.4.00.0300.06015.89
5.3.290.0230.07314.92
5.3.280.0170.03714.68
5.3.270.0170.05014.69
5.3.260.0200.08014.80
5.3.250.0130.07714.68
5.3.240.0230.06714.81
5.3.230.0230.06714.81
5.3.220.0200.04714.65
5.3.210.0230.07014.64
5.3.200.0200.07714.61
5.3.190.0200.05314.63
5.3.180.0270.07014.65
5.3.170.0230.05314.67
5.3.160.0230.07314.63
5.3.150.0300.07014.65
5.3.140.0300.06014.60
5.3.130.0300.06314.74
5.3.120.0200.05014.59
5.3.110.0200.07714.68
5.3.100.0270.07314.14
5.3.90.0230.05314.21
5.3.80.0130.05014.24
5.3.70.0230.04014.07
5.3.60.0300.05714.08
5.3.50.0300.06714.22
5.3.40.0230.07014.06
5.3.30.0230.06713.95
5.3.20.0300.06013.73
5.3.10.0100.04013.72
5.3.00.0300.06313.64
5.2.170.0200.06013.48
5.2.160.0200.03713.48
5.2.150.0170.06313.48
5.2.140.0200.05713.48
5.2.130.0230.02013.48
5.2.120.0170.02713.48
5.2.110.0200.05013.48
5.2.100.0170.06013.48
5.2.90.0230.05713.48
5.2.80.0230.04313.48
5.2.70.0100.04313.48
5.2.60.0200.05313.48
5.2.50.0200.05013.48
5.2.40.0130.04713.48
5.2.30.0100.03313.48
5.2.20.0100.03313.48
5.2.10.0130.04013.48
5.2.00.0100.06013.48
5.1.60.0130.04313.48
5.1.50.0130.05013.48
5.1.40.0170.04013.48
5.1.30.0100.03713.48
5.1.20.0100.05013.48
5.1.10.0230.02313.48
5.1.00.0200.04713.48
5.0.50.0100.02713.48
5.0.40.0100.04013.48
5.0.30.0070.05013.48
5.0.20.0070.02313.48
5.0.10.0100.02013.48
5.0.00.0130.06013.48
4.4.90.0200.02313.48
4.4.80.0070.03313.48
4.4.70.0100.01013.48
4.4.60.0070.01313.48
4.4.50.0070.03713.48
4.4.40.0070.05313.48
4.4.30.0100.03013.48
4.4.20.0100.02013.48
4.4.10.0070.02013.48
4.4.00.0070.03013.48
4.3.110.0100.02713.48
4.3.100.0070.02713.48
4.3.90.0030.02013.48
4.3.80.0070.05013.48
4.3.70.0070.02013.48
4.3.60.0070.03313.48
4.3.50.0100.02313.48
4.3.40.0130.03713.48
4.3.30.0030.03013.48
4.3.20.0070.03313.48
4.3.10.0070.02713.48
4.3.00.0070.03313.48

preferences:
43.05 ms | 400 KiB | 5 Q