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/item/*[./@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.0140.00717.00
8.3.50.0120.00716.79
8.3.40.0100.01019.01
8.3.30.0040.01118.72
8.3.20.0000.00818.80
8.3.10.0000.00820.76
8.3.00.0090.00017.88
8.2.180.0000.01517.25
8.2.170.0070.01422.96
8.2.160.0100.01019.76
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00320.20
8.2.110.0090.00021.34
8.2.100.0130.00317.91
8.2.90.0090.00319.73
8.2.80.0040.00419.57
8.2.70.0000.00817.63
8.2.60.0050.00518.18
8.2.50.0000.00818.07
8.2.40.0000.00718.41
8.2.30.0050.00318.37
8.2.20.0050.00317.95
8.2.10.0040.00417.88
8.2.00.0030.00517.91
8.1.280.0060.01225.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.80
8.1.230.0090.00321.27
8.1.220.0000.00818.28
8.1.210.0060.00619.22
8.1.200.0060.00317.60
8.1.190.0000.00817.88
8.1.180.0050.00318.10
8.1.170.0000.00819.08
8.1.160.0040.00419.12
8.1.150.0000.00718.79
8.1.140.0100.00017.82
8.1.130.0080.00018.29
8.1.120.0000.00717.68
8.1.110.0030.00517.62
8.1.100.0000.00817.80
8.1.90.0040.00417.64
8.1.80.0040.00417.85
8.1.70.0000.00717.80
8.1.60.0040.00417.91
8.1.50.0040.00417.81
8.1.40.0040.00417.94
8.1.30.0000.00717.81
8.1.20.0040.00418.04
8.1.10.0080.00017.77
8.1.00.0000.00817.66
8.0.300.0080.00020.40
8.0.290.0040.00417.25
8.0.280.0030.00318.80
8.0.270.0000.00717.55
8.0.260.0000.00717.11
8.0.250.0050.00217.31
8.0.240.0030.00617.27
8.0.230.0070.00017.31
8.0.220.0030.00317.20
8.0.210.0050.00217.21
8.0.200.0000.00717.29
8.0.190.0000.00717.30
8.0.180.0000.00717.02
8.0.170.0030.00617.10
8.0.160.0040.00417.33
8.0.150.0040.00417.22
8.0.140.0000.01017.05
8.0.130.0000.00613.65
8.0.120.0090.00017.05
8.0.110.0040.00417.05
8.0.100.0030.00517.19
8.0.90.0030.00517.23
8.0.80.0040.01517.15
8.0.70.0000.00717.16
8.0.60.0030.00517.23
8.0.50.0040.00417.09
8.0.30.0140.01017.36
8.0.20.0130.00617.42
8.0.10.0050.00217.25
8.0.00.0080.01016.91
7.4.330.0000.00613.34
7.4.320.0000.00716.77
7.4.300.0080.00016.94
7.4.290.0030.00316.83
7.4.280.0030.00516.88
7.4.270.0030.00316.95
7.4.260.0000.00513.51
7.4.250.0050.00516.74
7.4.240.0050.00216.98
7.4.230.0000.00716.86
7.4.220.0120.01516.73
7.4.210.0090.00816.85
7.4.200.0070.00016.84
7.4.190.0040.00416.89
7.4.160.0190.00416.78
7.4.150.0080.01216.68
7.4.140.0160.00916.72
7.4.130.0110.00616.73
7.4.120.0070.00916.70
7.4.110.0130.00316.86
7.4.100.0090.00816.73
7.4.90.0160.00416.79
7.4.80.0060.01016.65
7.4.70.0140.00316.61
7.4.60.0170.00316.87
7.4.50.0030.00516.72
7.4.40.0030.00816.77
7.4.30.0130.01016.80
7.4.10.0030.01515.19
7.4.00.0090.00514.99
7.3.330.0030.00413.22
7.3.320.0030.00313.23
7.3.310.0000.00716.68
7.3.300.0000.00716.64
7.3.290.0130.00716.69
7.3.280.0110.00916.56
7.3.270.0040.01416.67
7.3.260.0110.00916.80
7.3.250.0130.00516.81
7.3.240.0070.01116.70
7.3.230.0070.01016.72
7.3.210.0070.01016.61
7.3.200.0090.00919.39
7.3.190.0190.00316.49
7.3.180.0120.00416.79
7.3.170.0130.00316.66
7.3.160.0040.01316.65
7.3.130.0100.00614.86
7.3.120.0040.01214.90
7.3.110.0140.00414.93
7.3.100.0080.00615.21
7.3.90.0060.00914.87
7.3.80.0100.01015.21
7.3.70.0030.01315.10
7.3.60.0080.00414.88
7.3.50.0070.01115.07
7.3.40.0000.01414.77
7.3.30.0000.01414.89
7.3.20.0070.00716.80
7.3.10.0110.00816.74
7.3.00.0090.01016.75
7.2.330.0120.00616.91
7.2.320.0070.01716.96
7.2.310.0060.01716.59
7.2.300.0090.00916.67
7.2.290.0100.00716.87
7.2.260.0090.00315.23
7.2.250.0060.00614.88
7.2.240.0100.00715.27
7.2.230.0120.00315.21
7.2.220.0100.00615.23
7.2.210.0000.01215.05
7.2.200.0090.00014.95
7.2.190.0070.00715.15
7.2.180.0070.00414.86
7.2.170.0110.00315.08
7.2.160.0100.00715.18
7.2.150.0100.00016.84
7.2.140.0040.00716.97
7.2.130.0120.00716.92
7.2.120.0120.00416.85
7.2.110.0090.00916.83
7.2.100.0100.00716.88
7.2.90.0070.00716.93
7.2.80.0090.01016.88
7.2.70.0110.00816.81
7.2.60.0100.00716.83
7.2.50.0080.01116.81
7.2.40.0070.01216.81
7.2.30.0080.00916.92
7.2.20.0090.00916.90
7.2.10.0090.00716.91
7.2.00.0090.00917.35
7.1.330.0060.01015.94
7.1.320.0140.00515.85
7.1.310.0100.00716.07
7.1.300.0090.00915.66
7.1.290.0060.00315.71
7.1.280.0080.00515.99
7.1.270.0040.01115.98
7.1.260.0050.00315.91
7.1.250.0100.00615.90
7.1.240.0110.00315.93
7.1.230.0090.00915.81
7.1.220.0070.00515.90
7.1.210.0090.00615.82
7.1.200.0020.01215.76
7.1.190.0100.00815.85
7.1.180.0090.00715.70
7.1.170.0070.00915.90
7.1.160.0070.00915.97
7.1.150.0090.00915.97
7.1.140.0090.00616.07
7.1.130.0050.00815.80
7.1.120.0120.00615.64
7.1.110.0050.01215.95
7.1.100.0080.00416.73
7.1.90.0060.01015.83
7.1.80.0050.01215.78
7.1.70.0050.00816.24
7.1.60.0110.00617.05
7.1.50.0060.01316.19
7.1.40.0060.00815.71
7.1.30.0090.00415.88
7.1.20.0030.01215.85
7.1.10.0070.00715.86
7.1.00.0090.02418.09
7.0.330.0060.00715.46
7.0.320.0070.00715.59
7.0.310.0110.00415.57
7.0.300.0110.00715.59
7.0.290.0070.00615.70
7.0.280.0050.01515.51
7.0.270.0120.00315.27
7.0.260.0070.00915.49
7.0.250.0050.01015.67
7.0.240.0070.00815.50
7.0.230.0120.00415.60
7.0.220.0100.00315.44
7.0.210.0100.00515.39
7.0.200.0080.00515.79
7.0.190.0090.00615.58
7.0.180.0100.00315.63
7.0.170.0070.00715.50
7.0.160.0050.00615.44
7.0.150.0030.01215.46
7.0.140.0060.03017.64
7.0.130.0060.00515.49
7.0.120.0080.02717.84
7.0.110.0070.00515.46
7.0.100.0040.01315.57
7.0.90.0060.00815.59
7.0.80.0030.01215.46
7.0.70.0060.00915.45
7.0.60.0090.03217.08
7.0.50.0050.03516.33
7.0.40.0090.02414.82
7.0.30.0060.03414.93
7.0.20.0020.03314.86
7.0.10.0060.03314.94
7.0.00.0060.02115.06
5.6.400.0030.00914.68
5.6.390.0090.00914.57
5.6.380.0100.00714.44
5.6.370.0090.01014.62
5.6.360.0090.00514.41
5.6.350.0110.00914.62
5.6.340.0120.00814.50
5.6.330.0070.01214.70
5.6.320.0060.01114.48
5.6.310.0030.00814.53
5.6.300.0070.00714.62
5.6.290.0040.00614.78
5.6.280.0090.03116.65
5.6.270.0030.01114.27
5.6.260.0080.00514.41
5.6.250.0050.00614.17
5.6.240.0050.01114.42
5.6.230.0050.00714.48
5.6.220.0010.01014.35
5.6.210.0090.01916.46
5.6.200.0040.03415.75
5.6.190.0090.01715.62
5.6.180.0100.02915.73
5.6.170.0060.03115.83
5.6.160.0080.03315.64
5.6.150.0030.02515.58
5.6.140.0040.03415.52
5.6.130.0100.02015.62
5.6.120.0120.02315.68
5.6.110.0030.03215.79
5.6.100.0090.02415.71
5.6.90.0050.02715.71
5.6.80.0130.02215.50
5.6.70.0070.03215.50
5.6.60.0060.02315.56
5.6.50.0040.03315.42
5.6.40.0080.02215.41
5.6.30.0100.01915.46
5.6.20.0060.03415.57
5.6.10.0040.03015.48
5.6.00.0070.03115.34
5.5.380.0070.00412.85
5.5.370.0050.00712.68
5.5.360.0040.00912.79
5.5.350.0130.01415.33
5.5.340.0050.02814.47
5.5.330.0070.03214.47
5.5.320.0050.03414.47
5.5.310.0070.03214.54
5.5.300.0040.02914.47
5.5.290.0090.02914.63
5.5.280.0030.03114.73
5.5.270.0040.03014.49
5.5.260.0070.02314.44
5.5.250.0060.02114.41
5.5.240.0070.02914.23
5.5.230.0090.02614.33
5.5.220.0100.01814.32
5.5.210.0060.02814.27
5.5.200.0060.01714.22
5.5.190.0040.02614.33
5.5.180.0090.02614.20
5.5.170.0000.00912.60
5.5.160.0060.03114.35
5.5.150.0030.02014.29
5.5.140.0060.01514.36
5.5.130.0050.01614.22
5.5.120.0020.01914.21
5.5.110.0010.01914.31
5.5.100.0020.01814.23
5.5.90.0040.01714.24
5.5.80.0040.01714.10
5.5.70.0040.01714.24
5.5.60.0030.01814.07
5.5.50.0040.01814.14
5.5.40.0030.01914.26
5.5.30.0030.01714.04
5.5.20.0020.01914.22
5.5.10.0070.01613.98
5.5.00.0070.01514.15
5.4.450.0040.02014.26
5.4.440.0090.02514.23
5.4.430.0030.02214.16
5.4.420.0040.02314.40
5.4.410.0010.03114.19
5.4.400.0070.01814.15
5.4.390.0050.02314.23
5.4.380.0060.03014.25
5.4.370.0110.02014.14
5.4.360.0040.03214.23
5.4.350.0070.03214.23
5.4.340.0050.02914.21
5.4.330.0040.00511.57
5.4.320.0070.02814.11
5.4.310.0030.03214.11
5.4.300.0030.01714.17
5.4.290.0020.02114.16
5.4.280.0040.01714.07
5.4.270.0060.01614.02
5.4.260.0040.01614.15
5.4.250.0040.01614.19
5.4.240.0040.01714.25
5.4.230.0060.01414.02
5.4.220.0070.01414.12
5.4.210.0030.01814.11
5.4.200.0050.01514.06
5.4.190.0050.01814.12
5.4.180.0040.01714.20
5.4.170.0060.01414.10
5.4.160.0030.01814.24
5.4.150.0030.01614.08
5.4.140.0030.01813.12
5.4.130.0040.01613.20
5.4.120.0040.01713.24
5.4.110.0040.01513.15
5.4.100.0040.01513.17
5.4.90.0060.01413.11
5.4.80.0040.01613.16
5.4.70.0010.02013.17
5.4.60.0050.01513.21
5.4.50.0060.02013.13
5.4.40.0080.01113.20
5.4.30.0060.01913.12
5.4.20.0030.01913.17
5.4.10.0070.02513.14
5.4.00.0070.02712.99
5.3.290.0050.02712.63
5.3.280.0040.01612.54
5.3.270.0010.02212.51
5.3.260.0040.01612.54
5.3.250.0070.01212.56
5.3.240.0030.01712.55
5.3.230.0060.01612.55
5.3.220.0020.02312.52
5.3.210.0050.01912.55
5.3.200.0030.01612.51
5.3.190.0050.01612.56
5.3.180.0010.01912.54
5.3.170.0020.01712.61
5.3.160.0030.01812.60
5.3.150.0050.01312.57
5.3.140.0040.01612.57
5.3.130.0090.01612.53
5.3.120.0050.01612.56
5.3.110.0050.03112.54
5.3.100.0070.02212.35
5.3.90.0060.02212.37
5.3.80.0090.01812.33
5.3.70.0100.02712.35
5.3.60.0070.02012.34
5.3.50.0070.02212.26
5.3.40.0050.01912.31
5.3.30.0030.02212.30
5.3.20.0040.01812.22
5.3.10.0100.02512.26
5.3.00.0050.02812.21
5.2.170.0080.02010.89
5.2.160.0100.02210.87
5.2.150.0080.03010.85
5.2.140.0110.01810.86
5.2.130.0030.02110.96
5.2.120.0080.03310.84
5.2.110.0110.02710.86
5.2.100.0060.01910.89
5.2.90.0040.03110.88
5.2.80.0040.03410.82
5.2.70.0060.02010.80
5.2.60.0040.02710.86
5.2.50.0020.02110.82
5.2.40.0030.03610.78
5.2.30.0020.03110.80
5.2.20.0050.03410.87
5.2.10.0040.02310.78
5.2.00.0080.02710.67
5.1.60.0080.02510.32
5.1.50.0090.02510.32
5.1.40.0030.01710.37
5.1.30.0050.01710.50
5.1.20.0050.03210.51
5.1.10.0040.01610.39
5.1.00.0020.02510.39
5.0.50.0040.0259.90
5.0.40.0030.0239.90
5.0.30.0060.0249.90
5.0.20.0020.0139.90
5.0.10.0030.0189.90
5.0.00.0010.0209.90
4.4.90.0030.0209.90
4.4.80.0000.0229.90
4.4.70.0020.0209.90
4.4.60.0000.0249.90
4.4.50.0020.0209.90
4.4.40.0040.0279.90
4.4.30.0040.0109.90
4.4.20.0020.0109.90
4.4.10.0040.0129.90
4.4.00.0010.0199.90
4.3.110.0040.0199.90
4.3.100.0030.0109.90
4.3.90.0030.0189.90
4.3.80.0040.0269.90
4.3.70.0000.0139.90
4.3.60.0030.0179.90
4.3.50.0020.0179.90
4.3.40.0060.0179.90
4.3.30.0000.0149.90
4.3.20.0050.0079.90
4.3.10.0000.0159.90
4.3.00.0020.0159.90

preferences:
49.54 ms | 401 KiB | 5 Q