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.0090.00916.63
8.3.50.0080.00817.54
8.3.40.0110.00418.87
8.3.30.0150.00318.92
8.3.20.0040.00418.76
8.3.10.0030.00620.75
8.3.00.0110.00019.38
8.2.180.0100.01017.13
8.2.170.0090.00622.96
8.2.160.0090.00621.18
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0120.00620.18
8.2.110.0090.00021.55
8.2.100.0040.00818.16
8.2.90.0030.00719.73
8.2.80.0000.00719.71
8.2.70.0030.00517.87
8.2.60.0000.01018.30
8.2.50.0060.00318.07
8.2.40.0050.00318.41
8.2.30.0050.00318.30
8.2.20.0040.00417.89
8.2.10.0000.00817.97
8.2.00.0080.00418.07
8.1.280.0180.00425.92
8.1.270.0030.00624.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00622.73
8.1.230.0070.00421.34
8.1.220.0040.00418.05
8.1.210.0030.00919.35
8.1.200.0040.00417.50
8.1.190.0040.00417.76
8.1.180.0040.00718.10
8.1.170.0040.00419.21
8.1.160.0040.00419.16
8.1.150.0000.00718.84
8.1.140.0090.00317.70
8.1.130.0000.00718.12
8.1.120.0070.00017.85
8.1.110.0040.00417.88
8.1.100.0040.00417.66
8.1.90.0000.00717.71
8.1.80.0000.00717.81
8.1.70.0000.00717.71
8.1.60.0000.00817.97
8.1.50.0000.00817.71
8.1.40.0000.00817.91
8.1.30.0000.00817.75
8.1.20.0030.00617.81
8.1.10.0040.00417.95
8.1.00.0080.00017.73
8.0.300.0040.00420.29
8.0.290.0000.00817.00
8.0.280.0000.00718.68
8.0.270.0000.00717.48
8.0.260.0070.00017.17
8.0.250.0080.00017.08
8.0.240.0060.00317.23
8.0.230.0050.00217.36
8.0.220.0030.00417.02
8.0.210.0000.00717.28
8.0.200.0030.00317.34
8.0.190.0040.00417.29
8.0.180.0000.00717.03
8.0.170.0040.00417.26
8.0.160.0000.00717.15
8.0.150.0000.00817.07
8.0.140.0050.00517.18
8.0.130.0000.00613.53
8.0.120.0050.00217.23
8.0.110.0000.00717.12
8.0.100.0040.00417.15
8.0.90.0000.00717.11
8.0.80.0040.01117.23
8.0.70.0020.00517.28
8.0.60.0040.00417.02
8.0.50.0020.00517.10
8.0.30.0110.01117.29
8.0.20.0100.00817.45
8.0.10.0040.00417.23
8.0.00.0130.00816.98
7.4.330.0030.00313.30
7.4.320.0030.00316.86
7.4.300.0070.00016.98
7.4.290.0070.00016.85
7.4.280.0060.00316.88
7.4.270.0040.00416.73
7.4.260.0000.00613.54
7.4.250.0080.00016.72
7.4.240.0040.00416.77
7.4.230.0030.00316.75
7.4.220.0060.01216.76
7.4.210.0110.00416.80
7.4.200.0070.00016.87
7.4.190.0080.00016.75
7.4.160.0090.00616.89
7.4.150.0090.00916.63
7.4.140.0060.01516.74
7.4.130.0130.00616.80
7.4.120.0070.01016.77
7.4.110.0040.01316.70
7.4.100.0130.00316.87
7.4.90.0090.00916.88
7.4.80.0060.01416.79
7.4.70.0130.00616.77
7.4.60.0150.00516.68
7.4.50.0040.00416.77
7.4.40.0070.00716.55
7.4.30.0080.00816.70
7.4.00.0040.01215.09
7.3.330.0030.00313.53
7.3.320.0000.00613.32
7.3.310.0040.00416.70
7.3.300.0070.00016.52
7.3.290.0130.00716.54
7.3.280.0070.01016.56
7.3.270.0090.00916.48
7.3.260.0120.00516.63
7.3.250.0110.00816.70
7.3.240.0100.00716.87
7.3.230.0100.00716.61
7.3.210.0070.01016.54
7.3.200.0090.01219.39
7.3.190.0000.01616.56
7.3.180.0140.00316.57
7.3.170.0090.00916.53
7.3.160.0060.00916.52
7.3.120.0060.00914.92
7.3.110.0110.00714.90
7.3.100.0060.00315.33
7.3.90.0030.01014.85
7.3.80.0090.00614.95
7.3.70.0000.00814.83
7.3.60.0030.01414.87
7.3.50.0030.01014.85
7.3.40.0060.00614.82
7.3.30.0000.01614.94
7.3.20.0080.00416.65
7.3.10.0070.01116.89
7.3.00.0060.00316.51
7.2.330.0070.01116.92
7.2.320.0070.01016.61
7.2.310.0090.01216.98
7.2.300.0050.01316.60
7.2.290.0130.00316.85
7.2.250.0100.00715.20
7.2.240.0070.01414.98
7.2.230.0040.01215.28
7.2.220.0040.01414.94
7.2.210.0030.00815.26
7.2.200.0000.01215.20
7.2.190.0060.00315.00
7.2.180.0060.01015.04
7.2.170.0040.00715.17
7.2.00.0120.00619.43
7.1.330.0030.00915.80
7.1.320.0030.00615.91
7.1.310.0040.00816.24
7.1.300.0090.00315.86
7.1.290.0060.00615.69
7.1.280.0030.01215.72
7.1.270.0080.00615.69
7.1.260.0030.00715.86
7.1.100.0040.00718.50
7.1.70.0050.00217.08
7.1.60.0130.01019.40
7.1.50.0030.01716.79
7.1.00.0100.07322.56
7.0.200.0080.00016.93
7.0.140.0130.06322.11
7.0.120.0070.06722.20
7.0.60.0070.07020.06
7.0.50.0070.08318.12
7.0.40.0030.08317.92
7.0.30.0100.05017.95
7.0.20.0070.05317.90
7.0.10.0070.06717.95
7.0.00.0100.07718.06
5.6.280.0000.07721.16
5.6.210.0130.03720.97
5.6.200.0030.05718.28
5.6.190.0070.04018.40
5.6.180.0100.04318.35
5.6.170.0070.07318.38
5.6.160.0070.06318.33
5.6.150.0130.03718.38
5.6.140.0070.07718.38
5.6.130.0000.05718.37
5.6.120.0030.08718.37
5.6.110.0130.08018.34
5.6.100.0100.07718.42
5.6.90.0000.06018.36
5.6.80.0100.05717.73
5.6.70.0100.06017.70
5.6.60.0100.07017.77
5.6.50.0070.06017.77
5.6.40.0070.08017.73
5.6.30.0070.08017.63
5.6.20.0070.07717.72
5.6.10.0100.06017.70
5.6.00.0070.06017.62
5.5.350.0200.10320.62
5.5.340.0030.04318.12
5.5.330.0030.04318.18
5.5.320.0030.05318.13
5.5.310.0130.07318.12
5.5.300.0130.07018.14
5.5.290.0130.05318.13
5.5.280.0070.06718.14
5.5.270.0100.07018.14
5.5.260.0130.05318.07
5.5.250.0070.05018.02
5.5.240.0100.07317.46
5.5.230.0130.07017.56
5.5.220.0070.07317.57
5.5.210.0100.07717.52
5.5.200.0130.04317.53
5.5.190.0070.07717.48
5.5.180.0100.07717.46
5.5.160.0070.03717.50
5.5.150.0070.05017.47
5.5.140.0030.08317.43
5.5.130.0170.07017.55
5.5.120.0070.04717.58
5.5.110.0000.04717.55
5.5.100.0070.07317.37
5.5.90.0030.07017.42
5.5.80.0100.05717.43
5.5.70.0100.07317.44
5.5.60.0100.07317.42
5.5.50.0100.05717.37
5.5.40.0000.08017.42
5.5.30.0070.07317.31
5.5.20.0100.07317.41
5.5.10.0070.07017.38
5.5.00.0030.05317.36
5.4.450.0170.07319.48
5.4.440.0100.07719.38
5.4.430.0100.08019.54
5.4.420.0030.06019.30
5.4.410.0100.03319.43
5.4.400.0070.07319.28
5.4.390.0070.04318.99
5.4.380.0070.08319.23
5.4.370.0070.07319.00
5.4.360.0070.07318.98
5.4.350.0030.08019.32
5.4.340.0100.05019.23
5.4.320.0070.07319.33
5.4.310.0030.07019.31
5.4.300.0100.05319.21
5.4.290.0070.06719.27
5.4.280.0070.06319.19
5.4.270.0100.05319.23
5.4.260.0130.07019.22
5.4.250.0070.05319.13
5.4.240.0070.05018.97
5.4.230.0070.06019.27
5.4.220.0000.06319.31
5.4.210.0100.07019.00
5.4.200.0100.06719.30
5.4.190.0170.07019.30
5.4.180.0100.05719.22
5.4.170.0000.04319.24
5.4.160.0100.06719.17
5.4.150.0100.07318.96
5.4.140.0130.07016.52
5.4.130.0000.04316.45
5.4.120.0100.03016.52
5.4.110.0070.05316.57
5.4.100.0000.04016.58
5.4.90.0070.05716.57
5.4.80.0030.07016.56
5.4.70.0030.04316.51
5.4.60.0100.05316.51
5.4.50.0070.07316.57
5.4.40.0030.05016.52
5.4.30.0000.05016.46
5.4.20.0100.07316.57
5.4.10.0030.08016.57
5.4.00.0070.07315.92
5.3.290.0100.07014.82
5.3.280.0030.07314.79
5.3.270.0030.04014.64
5.3.260.0100.04314.62
5.3.250.0030.04714.84
5.3.240.0100.04314.79
5.3.230.0070.04314.66
5.3.220.0100.07014.75
5.3.210.0070.07714.71
5.3.200.0030.06314.72
5.3.190.0030.04714.70
5.3.180.0130.06714.74
5.3.170.0200.03714.80
5.3.160.0100.07014.77
5.3.150.0100.07014.58
5.3.140.0170.07014.66
5.3.130.0100.04014.59
5.3.120.0030.03714.57
5.3.110.0170.07014.70
5.3.100.0000.07014.25
5.3.90.0070.07014.17
5.3.80.0030.06314.00
5.3.70.0100.06014.16
5.3.60.0070.07014.00
5.3.50.0070.07714.16
5.3.40.0100.06714.04
5.3.30.0070.05314.03
5.3.20.0100.06713.82
5.3.10.0130.06313.64
5.3.00.0070.07313.76
5.2.170.0000.04711.40
5.2.160.0030.06011.30
5.2.150.0000.06711.42
5.2.140.0070.06711.18
5.2.130.0070.06311.27
5.2.120.0130.05011.23
5.2.110.0030.06311.23
5.2.100.0070.06011.21
5.2.90.0000.05311.10
5.2.80.0070.03311.16
5.2.70.0130.03011.13
5.2.60.0030.03311.20
5.2.50.0030.04711.32
5.2.40.0100.05011.04
5.2.30.0030.04010.96
5.2.20.0030.06011.03
5.2.10.0030.05311.12
5.2.00.0000.06311.02
5.1.60.0000.05310.24
5.1.50.0000.03710.14
5.1.40.0070.05010.13
5.1.30.0000.03710.60
5.1.20.0070.03710.54
5.1.10.0030.04710.25
5.1.00.0030.05710.28
5.0.50.0100.0238.74
5.0.40.0030.0278.59
5.0.30.0000.0678.52
5.0.20.0030.0208.23
5.0.10.0030.0178.23
5.0.00.0030.0308.29
4.4.90.0070.0137.88
4.4.80.0070.0337.88
4.4.70.0000.0237.88
4.4.60.0000.0407.88
4.4.50.0000.0307.88
4.4.40.0030.0537.88
4.4.30.0030.0277.88
4.4.20.0030.0337.88
4.4.10.0000.0407.88
4.4.00.0070.0407.88
4.3.110.0000.0277.88
4.3.100.0000.0177.88
4.3.90.0070.0107.88
4.3.80.0000.0277.88
4.3.70.0000.0137.88
4.3.60.0000.0137.88
4.3.50.0000.0177.88
4.3.40.0000.0277.88
4.3.30.0000.0137.88
4.3.20.0000.0177.88
4.3.10.0000.0237.88
4.3.00.0000.0177.88

preferences:
40.14 ms | 401 KiB | 5 Q