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.40.0190.00019.08
8.3.30.0070.00719.04
8.3.20.0060.00319.04
8.3.10.0000.00820.91
8.3.00.0040.00419.38
8.2.170.0070.00722.96
8.2.160.0000.01420.95
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0090.00019.95
8.2.110.0090.00019.60
8.2.100.0040.00818.22
8.2.90.0050.00519.60
8.2.80.0040.00417.97
8.2.70.0000.00817.88
8.2.60.0030.00518.41
8.2.50.0040.00418.07
8.2.40.0000.00818.53
8.2.30.0030.00618.45
8.2.20.0030.00618.08
8.2.10.0080.00018.00
8.2.00.0050.00317.96
8.1.270.0060.00324.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0070.00322.70
8.1.230.0000.01221.05
8.1.220.0030.00617.93
8.1.210.0000.00818.77
8.1.200.0000.00917.60
8.1.190.0000.00917.90
8.1.180.0090.00018.10
8.1.170.0060.00319.00
8.1.160.0050.00319.24
8.1.150.0060.00318.88
8.1.140.0070.00317.60
8.1.130.0070.00018.15
8.1.120.0050.00217.66
8.1.110.0040.00417.57
8.1.100.0000.00717.86
8.1.90.0040.00417.83
8.1.80.0040.00417.58
8.1.70.0030.00317.83
8.1.60.0060.00318.00
8.1.50.0050.00317.63
8.1.40.0030.00617.76
8.1.30.0000.00817.94
8.1.20.0040.00417.82
8.1.10.0000.00917.73
8.1.00.0090.00317.71
8.0.300.0000.00718.77
8.0.290.0040.00417.25
8.0.280.0040.00418.78
8.0.270.0070.00017.70
8.0.260.0000.00717.12
8.0.250.0040.00417.34
8.0.240.0030.00617.14
8.0.230.0030.00317.19
8.0.220.0030.00317.28
8.0.210.0030.00317.20
8.0.200.0040.00417.45
8.0.190.0040.00417.38
8.0.180.0040.00417.38
8.0.170.0040.00417.34
8.0.160.0040.00417.22
8.0.150.0110.00017.30
8.0.140.0000.01017.11
8.0.130.0050.00013.76
8.0.120.0000.00717.37
8.0.110.0050.00317.12
8.0.100.0000.00717.27
8.0.90.0040.00417.16
8.0.80.0130.00317.29
8.0.70.0040.00417.30
8.0.60.0000.00717.17
8.0.50.0040.00417.14
8.0.30.0100.01217.53
8.0.20.0100.00817.45
8.0.10.0040.00417.18
8.0.00.0140.00617.03
7.4.330.0060.00013.33
7.4.320.0000.00616.91
7.4.300.0030.00316.77
7.4.290.0070.00016.70
7.4.280.0030.00616.88
7.4.270.0030.00316.96
7.4.260.0000.00513.71
7.4.250.0080.00016.84
7.4.240.0000.00816.98
7.4.230.0030.00316.90
7.4.220.0130.01016.85
7.4.210.0090.00816.95
7.4.200.0000.00716.89
7.4.190.0050.00317.00
7.4.160.0060.00916.66
7.4.150.0180.00016.80
7.4.140.0080.01416.83
7.4.130.0100.00816.86
7.4.120.0140.00316.69
7.4.110.0100.01016.92
7.4.100.0120.00616.93
7.4.90.0140.00316.72
7.4.80.0060.01616.75
7.4.70.0070.01016.75
7.4.60.0100.00716.80
7.4.50.0030.00616.73
7.4.40.0030.01316.80
7.4.30.0130.00416.85
7.4.00.0040.01115.06
7.3.330.0060.00013.66
7.3.320.0000.00513.37
7.3.310.0080.00016.61
7.3.300.0030.00316.69
7.3.290.0040.01416.55
7.3.280.0070.01016.57
7.3.270.0140.00316.66
7.3.260.0070.01216.64
7.3.250.0070.01116.89
7.3.240.0130.00316.95
7.3.230.0000.01816.63
7.3.210.0110.00416.63
7.3.200.0070.01419.39
7.3.190.0120.01217.09
7.3.180.0090.00616.70
7.3.170.0060.00916.90
7.3.160.0060.00916.52
7.3.120.0050.00514.90
7.2.330.0140.00316.81
7.2.320.0090.01516.89
7.2.310.0070.01316.67
7.2.300.0100.00716.59
7.2.290.0110.00716.98
7.2.00.0200.00319.42
7.1.100.0030.00918.50
7.1.70.0030.00717.04
7.1.60.0040.01119.40
7.1.50.0090.01516.89
7.1.00.0100.07022.67
7.0.200.0050.00316.89
7.0.140.0070.07322.13
7.0.120.0070.07322.32
7.0.60.0100.07720.09
7.0.50.0030.08717.97
7.0.40.0070.08017.95
7.0.30.0000.06017.92
7.0.20.0030.04317.96
7.0.10.0030.07317.83
7.0.00.0030.08317.95
5.6.280.0070.07021.25
5.6.210.0070.07020.86
5.6.200.0070.08018.39
5.6.190.0070.06718.44
5.6.180.0100.05718.41
5.6.170.0030.04318.39
5.6.160.0000.05018.37
5.6.150.0070.08318.29
5.6.140.0070.08018.30
5.6.130.0070.08018.39
5.6.120.0030.05718.26
5.6.110.0100.08718.29
5.6.100.0030.04318.38
5.6.90.0070.04018.32
5.6.80.0030.06717.77
5.6.70.0070.07717.72
5.6.60.0100.07017.81
5.6.50.0070.06717.85
5.6.40.0100.03717.63
5.6.30.0100.03717.73
5.6.20.0100.06317.64
5.6.10.0070.07717.63
5.6.00.0070.07317.64
5.5.350.0230.07020.54
5.5.340.0030.04718.24
5.5.330.0030.08718.18
5.5.320.0070.04718.21
5.5.310.0000.04318.06
5.5.300.0030.08318.09
5.5.290.0070.08018.19
5.5.280.0100.06018.21
5.5.270.0030.08718.02
5.5.260.0100.07718.14
5.5.250.0100.07018.05
5.5.240.0030.07717.63
5.5.230.0030.06717.52
5.5.220.0170.07017.61
5.5.210.0070.07717.50
5.5.200.0030.08017.50
5.5.190.0030.08017.47
5.5.180.0130.06317.52
5.5.160.0070.04317.52
5.5.150.0030.08017.44
5.5.140.0000.04717.46
5.5.130.0130.07017.53
5.5.120.0100.03317.45
5.5.110.0070.07017.48
5.5.100.0030.08317.40
5.5.90.0070.06317.40
5.5.80.0200.06017.37
5.5.70.0100.07317.40
5.5.60.0030.04717.36
5.5.50.0070.06017.36
5.5.40.0070.07717.42
5.5.30.0130.07017.38
5.5.20.0100.06317.41
5.5.10.0130.06317.33
5.5.00.0070.08017.40
5.4.450.0030.06719.66
5.4.440.0030.06719.43
5.4.430.0070.06319.43
5.4.420.0100.03719.43
5.4.410.0070.07019.29
5.4.400.0070.07019.30
5.4.390.0070.06319.19
5.4.380.0100.07319.19
5.4.370.0000.06319.30
5.4.360.0030.06719.21
5.4.350.0170.07019.13
5.4.340.0030.04019.27
5.4.320.0100.07319.27
5.4.310.0000.05719.20
5.4.300.0030.04019.25
5.4.290.0170.06319.09
5.4.280.0100.05719.10
5.4.270.0100.07319.09
5.4.260.0000.08319.09
5.4.250.0100.06019.18
5.4.240.0000.07719.09
5.4.230.0070.05019.09
5.4.220.0100.07319.32
5.4.210.0030.08019.18
5.4.200.0000.07719.18
5.4.190.0070.07019.22
5.4.180.0030.07719.29
5.4.170.0000.08319.16
5.4.160.0030.04019.09
5.4.150.0070.07319.31
5.4.140.0000.05016.61
5.4.130.0030.07716.59
5.4.120.0100.06016.58
5.4.110.0100.04016.57
5.4.100.0000.04016.52
5.4.90.0030.05016.55
5.4.80.0130.04016.71
5.4.70.0100.06716.60
5.4.60.0000.08016.59
5.4.50.0130.06316.60
5.4.40.0030.08016.49
5.4.30.0030.06316.58
5.4.20.0100.05316.55
5.4.10.0070.07316.56
5.4.00.0030.06015.96
5.3.290.0000.08714.88
5.3.280.0030.07714.77
5.3.270.0070.07014.79
5.3.260.0000.07314.67
5.3.250.0030.07714.88
5.3.240.0100.07314.67
5.3.230.0100.07314.64
5.3.220.0000.05014.76
5.3.210.0000.05014.75
5.3.200.0100.06714.78
5.3.190.0000.04314.79
5.3.180.0030.06714.77
5.3.170.0100.06314.74
5.3.160.0100.06314.61
5.3.150.0170.06014.76
5.3.140.0100.05714.70
5.3.130.0070.04714.73
5.3.120.0000.08314.70
5.3.110.0000.05714.72
5.3.100.0030.05714.25
5.3.90.0200.06314.17
5.3.80.0070.06314.11
5.3.70.0100.07014.14
5.3.60.0030.05014.19
5.3.50.0030.05014.03
5.3.40.0070.04014.13
5.3.30.0100.06314.11
5.3.20.0030.06013.89
5.3.10.0100.06713.84
5.3.00.0070.05713.82
5.2.170.0030.06311.32
5.2.160.0030.04011.33
5.2.150.0070.06011.34
5.2.140.0100.05711.24
5.2.130.0030.03711.32
5.2.120.0000.03711.28
5.2.110.0070.06011.36
5.2.100.0030.04011.28
5.2.90.0070.06011.27
5.2.80.0100.02711.24
5.2.70.0030.06011.24
5.2.60.0000.06011.24
5.2.50.0070.03311.24
5.2.40.0000.06311.24
5.2.30.0070.05711.24
5.2.20.0070.04011.24
5.2.10.0070.04711.24
5.2.00.0030.03711.24
5.1.60.0100.04311.24
5.1.50.0030.03311.24
5.1.40.0070.05011.24
5.1.30.0030.06311.24
5.1.20.0070.03311.24
5.1.10.0100.04711.24
5.1.00.0070.04311.24
5.0.50.0070.04311.24
5.0.40.0000.04011.24
5.0.30.0000.06311.24
5.0.20.0030.04311.24
5.0.10.0000.05311.24
5.0.00.0070.04011.24
4.4.90.0030.02711.24
4.4.80.0030.03711.24
4.4.70.0000.02311.24
4.4.60.0000.03711.24
4.4.50.0070.03311.24
4.4.40.0000.05711.24
4.4.30.0000.03711.24
4.4.20.0030.03711.24
4.4.10.0070.03011.24
4.4.00.0030.05311.24
4.3.110.0030.03311.24
4.3.100.0000.03311.24
4.3.90.0030.03711.24
4.3.80.0070.02711.24
4.3.70.0030.02011.24
4.3.60.0030.03711.24
4.3.50.0030.02711.24
4.3.40.0000.04311.24
4.3.30.0000.02311.24
4.3.20.0000.03011.24
4.3.10.0070.01711.24
4.3.00.0030.02311.24

preferences:
34.46 ms | 400 KiB | 5 Q