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'); $doc = $dom->importNode($doc, true); $doc = $dom->appendChild($doc); $xpath = new DOMXPath($dom); $res1 = $xpath->query('//root/item[./@id="images"]'); 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.0030.01217.00
8.3.50.0130.00617.61
8.3.40.0170.00318.92
8.3.30.0110.00418.74
8.3.20.0040.00418.85
8.3.10.0040.00420.64
8.3.00.0060.00317.75
8.2.180.0100.00717.13
8.2.170.0100.00622.96
8.2.160.0100.00322.81
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0040.00420.20
8.2.110.0100.00020.67
8.2.100.0040.01119.77
8.2.90.0030.00618.41
8.2.80.0090.00018.05
8.2.70.0070.00417.72
8.2.60.0000.00818.18
8.2.50.0040.00418.07
8.2.40.0040.00418.53
8.2.30.0040.00418.41
8.2.20.0040.00417.89
8.2.10.0040.00417.97
8.2.00.0030.00518.18
8.1.280.0150.00625.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0070.00728.09
8.1.240.0000.00822.55
8.1.230.0040.00721.41
8.1.220.0000.00818.16
8.1.210.0000.00919.37
8.1.200.0060.00317.60
8.1.190.0000.00817.89
8.1.180.0000.00818.10
8.1.170.0060.00319.14
8.1.160.0000.00819.20
8.1.150.0000.00818.88
8.1.140.0040.00417.69
8.1.130.0000.00718.07
8.1.120.0000.00717.82
8.1.110.0040.00417.63
8.1.100.0040.00417.73
8.1.90.0000.00717.61
8.1.80.0040.00417.63
8.1.70.0030.00617.63
8.1.60.0060.00317.79
8.1.50.0050.00217.81
8.1.40.0030.00517.94
8.1.30.0040.00417.86
8.1.20.0030.00518.08
8.1.10.0000.00817.73
8.1.00.0030.00617.86
8.0.300.0000.00820.13
8.0.290.0050.00317.13
8.0.280.0000.00718.79
8.0.270.0000.00817.52
8.0.260.0040.00417.04
8.0.250.0000.00717.27
8.0.240.0060.00317.32
8.0.230.0030.00317.25
8.0.220.0030.00317.27
8.0.210.0000.00717.27
8.0.200.0050.00317.07
8.0.190.0000.00917.34
8.0.180.0000.00717.02
8.0.170.0000.00917.27
8.0.160.0000.00717.03
8.0.150.0000.00817.20
8.0.140.0030.00917.09
8.0.130.0030.00313.72
8.0.120.0080.00017.02
8.0.110.0040.00417.14
8.0.100.0000.00817.10
8.0.90.0030.00517.26
8.0.80.0120.00617.21
8.0.70.0040.00417.18
8.0.60.0040.00417.28
8.0.50.0070.00017.02
8.0.30.0110.01317.42
8.0.20.0120.00717.52
8.0.10.0040.00417.21
8.0.00.0110.00817.03
7.4.330.0000.00513.22
7.4.320.0030.00316.75
7.4.300.0000.00616.78
7.4.290.0040.00416.85
7.4.280.0000.01016.75
7.4.270.0000.00716.85
7.4.260.0030.00313.60
7.4.250.0000.00816.77
7.4.240.0000.00716.76
7.4.230.0000.00716.83
7.4.220.0090.01116.84
7.4.210.0090.00816.92
7.4.200.0000.00716.84
7.4.190.0040.00416.97
7.4.160.0130.00316.75
7.4.150.0200.00416.97
7.4.140.0100.00716.84
7.4.130.0080.01016.79
7.4.120.0100.01116.72
7.4.110.0090.00916.91
7.4.100.0140.00416.86
7.4.90.0090.00916.65
7.4.80.0120.00816.61
7.4.70.0070.01016.57
7.4.60.0090.00816.79
7.4.50.0090.00016.84
7.4.40.0100.00316.65
7.4.30.0090.00816.98
7.4.00.0080.01015.04
7.3.330.0070.00013.33
7.3.320.0000.00613.21
7.3.310.0000.00716.33
7.3.300.0000.00716.55
7.3.290.0110.00416.55
7.3.280.0070.00916.50
7.3.270.0060.01216.65
7.3.260.0100.01116.70
7.3.250.0080.01316.60
7.3.240.0030.01316.66
7.3.230.0090.00916.68
7.3.210.0070.01016.70
7.3.200.0090.01419.39
7.3.190.0100.00816.56
7.3.180.0100.00716.62
7.3.170.0130.00316.61
7.3.160.0100.00716.78
7.3.120.0050.01415.02
7.3.110.0080.00515.07
7.3.100.0050.00914.71
7.3.90.0060.00715.02
7.3.80.0110.00614.90
7.3.70.0080.00314.81
7.3.60.0050.00914.79
7.3.50.0120.00314.96
7.3.40.0040.01014.98
7.3.30.0020.01214.97
7.3.20.0050.00616.86
7.3.10.0030.00716.79
7.3.00.0080.00316.68
7.2.330.0120.00617.00
7.2.320.0090.00916.68
7.2.310.0160.00616.89
7.2.300.0100.00717.05
7.2.290.0110.00717.05
7.2.250.0070.01115.27
7.2.240.0050.01215.01
7.2.230.0050.00915.17
7.2.220.0090.00415.21
7.2.210.0020.01415.06
7.2.200.0080.00815.07
7.2.190.0100.00415.18
7.2.180.0030.01115.08
7.2.170.0080.00814.98
7.2.160.0110.00715.07
7.2.150.0030.01016.96
7.2.140.0040.00716.73
7.2.130.0030.01017.03
7.2.120.0070.01016.90
7.2.110.0060.00916.75
7.2.100.0070.00716.91
7.2.90.0000.01216.99
7.2.80.0060.00916.66
7.2.70.0030.01217.05
7.2.60.0000.01016.92
7.2.50.0030.00716.93
7.2.40.0070.00316.80
7.2.30.0040.01116.81
7.2.20.0100.00316.82
7.2.10.0070.00716.91
7.2.00.0040.01118.26
7.1.330.0060.00815.95
7.1.320.0100.00116.02
7.1.310.0050.01116.01
7.1.300.0060.00515.85
7.1.290.0070.00615.93
7.1.280.0080.00316.13
7.1.270.0050.01115.88
7.1.260.0020.01215.88
7.1.250.0050.00315.94
7.1.100.0000.01118.18
7.1.70.0040.00417.43
7.1.60.0070.00717.38
7.1.50.0080.00317.12
7.1.40.0040.01116.73
7.1.30.0060.00616.89
7.1.20.0000.01116.98
7.1.10.0090.00016.81
7.1.00.0030.00716.85
7.0.200.0040.00416.58
7.0.190.0000.00716.55
7.0.180.0070.00716.59
7.0.170.0030.00916.39
7.0.160.0000.00816.59
7.0.150.0000.00816.30
7.0.140.0060.00316.46
7.0.130.0000.00816.56
7.0.120.0040.01116.68
7.0.110.0030.00816.50
7.0.100.0020.00516.49
7.0.90.0030.01316.53
7.0.80.0030.01016.64
7.0.70.0000.01116.41
7.0.60.0000.00916.29
7.0.50.0030.01316.52
7.0.40.0070.00415.52
7.0.30.0050.00215.52
7.0.20.0000.01015.52
7.0.10.0040.00415.52
7.0.00.0060.00615.52
5.6.300.0000.04321.04
5.6.290.0030.04021.04
5.6.280.0060.03821.06
5.6.270.0030.04321.07
5.6.260.0000.04921.15
5.6.250.0060.03521.14
5.6.240.0090.03521.08
5.6.230.0100.05921.02
5.6.220.0070.03721.06
5.6.210.0100.04321.29
5.6.200.0030.04021.12
5.6.190.0100.04721.09
5.6.180.0070.04021.13
5.6.170.0070.04521.11
5.6.160.0030.05721.15
5.6.150.0030.04221.01
5.6.140.0030.04221.12
5.6.130.0030.04521.09
5.6.120.0100.03321.22
5.6.110.0030.04520.88
5.6.100.0030.04721.07
5.6.90.0070.04320.94
5.6.80.0030.04020.59
5.6.70.0000.04420.49
5.6.60.0030.03820.34
5.6.50.0030.07820.22
5.6.40.0040.03920.46
5.6.30.0100.03320.45
5.6.20.0030.04120.57
5.6.10.0000.04220.44
5.6.00.0000.04020.33
5.5.380.0030.03817.69
5.5.370.0000.04217.86
5.5.360.0030.04217.59
5.5.350.0070.06217.70
5.5.340.0000.08118.23
5.5.330.0070.05918.19
5.5.320.0040.03917.95
5.5.310.0000.04418.23
5.5.300.0000.07018.22
5.5.290.0070.04018.00
5.5.280.0000.04318.18
5.5.270.0030.03918.21
5.5.260.0300.04018.28
5.5.250.0000.04218.05
5.5.240.0030.04517.57
5.5.230.0070.03917.56
5.5.220.0000.04017.50
5.5.210.0030.05017.60
5.5.200.0000.04017.58
5.5.190.0070.03417.57
5.5.180.0030.06817.54
5.5.160.0030.03917.56
5.5.150.0030.04717.54
5.5.140.0030.03817.45
5.5.130.0000.04017.29
5.5.120.0060.03517.59
5.5.110.0000.03917.53
5.5.100.0070.06417.45
5.5.90.0100.04117.52
5.5.80.0030.03517.51
5.5.70.0040.03917.43
5.5.60.0100.03217.42
5.5.50.0070.04317.23
5.5.40.0000.03917.47
5.5.30.0030.04817.47
5.5.20.0000.04317.42
5.5.10.0030.04117.20
5.5.00.0000.04817.41
5.4.450.0030.03919.63
5.4.440.0070.03719.58
5.4.430.0000.04519.60
5.4.420.0000.04319.67
5.4.410.0030.03719.39
5.4.400.0060.03519.14
5.4.390.0070.04019.23
5.4.380.0070.07519.12
5.4.370.0070.04019.26
5.4.360.0030.03719.28
5.4.350.0000.03919.22
5.4.340.0030.03919.23
5.4.320.0000.04519.20
5.4.310.0070.03419.30
5.4.300.0000.05319.22
5.4.290.0060.03818.97
5.4.280.0060.03519.20
5.4.270.0000.04119.28
5.4.260.0100.06319.21
5.4.250.0070.04819.13
5.4.240.0000.05619.04
5.4.230.0030.03519.24
5.4.220.0100.03319.25
5.4.210.0060.03218.96
5.4.200.0030.04419.20
5.4.190.0060.06119.33
5.4.180.0100.03719.34
5.4.170.0000.04019.29
5.4.160.0000.04119.33
5.4.150.0030.03919.05
5.4.140.0030.03616.78
5.4.130.0000.03716.76
5.4.120.0000.03916.61
5.4.110.0030.04016.94
5.4.100.0000.03816.85
5.4.90.0000.03916.57
5.4.80.0060.03216.77
5.4.70.0000.03816.55
5.4.60.0000.03716.83
5.4.50.0000.04216.70
5.4.40.0000.03716.63
5.4.30.0030.03716.72
5.4.20.0030.04216.76
5.4.10.0030.07616.76
5.4.00.0000.04116.14
5.3.290.0000.04215.52
5.3.280.0100.02915.52
5.3.270.0000.05215.52
5.3.260.0000.03915.52
5.3.250.0060.03515.52
5.3.240.0000.03815.52
5.3.230.0030.05615.52
5.3.220.0000.04115.52
5.3.210.0000.04815.52
5.3.200.0060.03515.52
5.3.190.0040.03515.52
5.3.180.0030.04215.52
5.3.170.0000.03815.52
5.3.160.0090.03415.52
5.3.150.0000.04115.52
5.3.140.0140.03515.52
5.3.130.0060.03215.52
5.3.120.0030.03815.52
5.3.110.0030.03815.52
5.3.100.0000.04315.52
5.3.90.0030.03715.52
5.3.80.0030.05715.52
5.3.70.0070.03715.52
5.3.60.0000.04615.52
5.3.50.0030.03715.52
5.3.40.0030.03615.52
5.3.30.0070.03615.52
5.3.20.0000.03715.52
5.3.10.0300.02715.52
5.3.00.0000.03815.52
5.2.170.0030.02815.52
5.2.160.0030.03315.52
5.2.150.0000.03515.52
5.2.140.0000.03515.52
5.2.130.0030.04815.52
5.2.120.0030.03015.52
5.2.110.0000.03015.52
5.2.100.0030.03315.52
5.2.90.0000.03115.52
5.2.80.0000.03415.52
5.2.70.0070.03715.52
5.2.60.0030.03115.52
5.2.50.0030.02715.52
5.2.40.0000.03615.52
5.2.30.0030.02815.52
5.2.20.0030.04515.52
5.2.10.0030.03415.52
5.2.00.0030.03115.52
5.1.60.0040.02215.52
5.1.50.0000.02715.52
5.1.40.0030.02315.52
5.1.30.0000.03215.52
5.1.20.0000.03015.52
5.1.10.0000.02615.52
5.1.00.0030.02315.52
5.0.50.0040.02215.52
5.0.40.0030.02315.52
5.0.30.0000.03415.52
5.0.20.0040.02115.52
5.0.10.0040.02515.52
5.0.00.0000.03215.52
4.4.90.0070.01015.52
4.4.80.0040.01515.52
4.4.70.0030.01715.52
4.4.60.0060.01515.52
4.4.50.0000.01615.52
4.4.40.0040.02915.52
4.4.30.0030.01415.52
4.4.20.0000.01715.52
4.4.10.0000.01815.52
4.4.00.0030.02215.52
4.3.110.0000.03715.52
4.3.100.0030.01915.52
4.3.90.0030.01615.52
4.3.80.0000.02515.52
4.3.70.0000.01515.52
4.3.60.0000.01715.52
4.3.50.0000.01815.52
4.3.40.0030.02415.52
4.3.30.0030.02115.52
4.3.20.0000.01715.52
4.3.10.0000.01615.52
4.3.00.0000.01615.52

preferences:
45.44 ms | 401 KiB | 5 Q