3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new DOMDocument(); $dom->loadXml('<foo xmlns=urn:foo/>'); var_dump($dom->documentElement->lookupNamespaceURI(NULL));

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.70.0120.00318.53
8.3.60.0120.00918.70
8.3.50.0110.00722.84
8.3.40.0040.01118.96
8.3.30.0130.00719.47
8.3.20.0040.00420.71
8.3.10.0000.00722.18
8.3.00.0070.00319.76
8.2.190.0120.00417.13
8.2.180.0110.00717.00
8.2.170.0070.00722.96
8.2.160.0100.00320.70
8.2.150.0080.00024.18
8.2.140.0090.00924.66
8.2.130.0060.00326.16
8.2.120.0050.00321.23
8.2.110.0030.00620.72
8.2.100.0060.00617.91
8.2.90.0060.00318.41
8.2.80.0050.00317.97
8.2.70.0000.00818.00
8.2.60.0050.00318.05
8.2.50.0090.00018.07
8.2.40.0000.00918.28
8.2.30.0040.00418.18
8.2.20.0040.00417.85
8.2.10.0030.00618.29
8.2.00.0000.00717.94
8.1.280.0190.00025.92
8.1.270.0040.00424.09
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0090.00022.18
8.1.230.0080.00421.13
8.1.220.0060.00317.77
8.1.210.0030.00619.10
8.1.200.0040.00617.47
8.1.190.0090.00017.60
8.1.180.0000.00818.10
8.1.170.0080.00018.78
8.1.160.0000.00722.10
8.1.150.0000.00719.11
8.1.140.0040.00417.59
8.1.130.0000.00717.98
8.1.120.0040.00417.68
8.1.110.0030.00617.46
8.1.100.0070.00017.73
8.1.90.0000.00717.73
8.1.80.0040.00417.61
8.1.70.0000.00717.61
8.1.60.0000.00917.83
8.1.50.0000.00817.74
8.1.40.0000.00917.65
8.1.30.0030.00617.88
8.1.20.0000.00817.81
8.1.10.0030.00617.77
8.1.00.0040.00417.66
8.0.300.0050.00320.30
8.0.290.0040.00416.88
8.0.280.0070.00018.63
8.0.270.0000.00717.37
8.0.260.0070.00017.32
8.0.250.0000.00717.15
8.0.240.0060.00317.06
8.0.230.0030.00617.12
8.0.220.0000.00717.05
8.0.210.0000.00717.22
8.0.200.0040.00417.03
8.0.190.0040.00217.08
8.0.180.0080.00017.20
8.0.170.0030.00617.03
8.0.160.0100.00017.12
8.0.150.0050.00217.11
8.0.140.0040.00417.12
8.0.130.0000.00513.72
8.0.120.0040.00417.12
8.0.110.0000.00817.20
8.0.100.0040.00417.08
8.0.90.0050.00317.22
8.0.80.0090.00817.15
8.0.70.0040.00417.21
8.0.60.0040.00417.09
8.0.50.0040.00417.05
8.0.30.0110.00917.22
8.0.20.0080.01417.40
8.0.10.0040.00417.17
8.0.00.0130.00916.95
7.4.330.0030.00315.30
7.4.320.0030.00316.75
7.4.300.0040.00416.85
7.4.290.0030.00316.80
7.4.280.0030.00516.74
7.4.270.0070.00016.87
7.4.260.0030.00316.86
7.4.250.0040.00416.71
7.4.240.0030.00516.81
7.4.230.0000.00716.57
7.4.220.0070.01316.63
7.4.210.0080.00516.69
7.4.200.0030.00316.71
7.4.160.0080.00816.67
7.4.150.0140.00317.40
7.4.140.0100.00817.86
7.4.130.0180.00716.85
7.4.120.0060.01116.83
7.4.110.0140.00616.75
7.4.100.0140.00316.64
7.4.90.0130.01016.73
7.4.80.0040.01819.39
7.4.70.0060.01216.77
7.4.60.0100.00616.80
7.4.50.0020.00216.77
7.4.40.0140.00316.77
7.4.30.0090.00616.73
7.4.00.0090.00614.84
7.3.330.0000.00513.37
7.3.320.0000.00513.35
7.3.310.0080.00016.52
7.3.300.0060.00016.46
7.3.290.0130.00616.59
7.3.280.0080.01016.50
7.3.270.0070.01017.40
7.3.260.0070.01016.73
7.3.240.0070.01116.54
7.3.230.0060.01016.49
7.3.210.0120.00616.65
7.3.200.0140.00919.39
7.3.190.0120.00616.67
7.3.180.0000.01516.49
7.3.170.0070.01016.47
7.3.160.0120.00416.56
7.2.330.0090.00916.95
7.2.320.0080.01216.76
7.2.310.0100.00616.91
7.2.300.0160.00616.61
7.2.290.0060.01616.73
7.2.60.0170.01017.14
7.2.00.0000.01519.50
7.1.200.0060.00615.60
7.1.100.0170.00818.11
7.1.70.0120.00017.16
7.1.60.0140.00017.35
7.1.50.0080.00816.92
7.1.40.0060.01616.61
7.1.30.0000.01616.66
7.1.20.0040.01216.68
7.1.10.0130.00316.61
7.1.00.0030.01216.76
7.0.200.0080.00416.96
7.0.190.0090.00316.72
7.0.180.0050.00716.38
7.0.170.0040.00716.32
7.0.160.0000.01016.39
7.0.150.0090.00916.45
7.0.140.0050.00816.30
7.0.130.0070.00316.59
7.0.120.0070.00316.56
7.0.110.0040.00716.33
7.0.100.0030.01216.32
7.0.90.0050.00816.32
7.0.80.0000.01016.48
7.0.70.0060.00916.55
7.0.60.0030.00616.25
7.0.50.0040.00416.60
7.0.40.0030.00615.07
7.0.30.0000.00815.07
7.0.20.0000.00715.07
7.0.10.0000.01615.07
7.0.00.0030.00915.07
5.6.300.0060.04120.99
5.6.290.0070.04420.76
5.6.280.0070.04721.09
5.6.270.0030.05021.19
5.6.260.0070.04120.96
5.6.250.0060.05121.12
5.6.240.0100.06320.91
5.6.230.0030.06420.91
5.6.220.0030.04020.82
5.6.210.0030.05220.80
5.6.200.0030.05121.04
5.6.190.0040.04221.05
5.6.180.0100.03420.95
5.6.170.0030.04421.05
5.6.160.0100.05221.00
5.6.150.0030.04820.91
5.6.140.0070.05020.98
5.6.130.0000.04320.75
5.6.120.0100.04820.89
5.6.110.0100.04120.92
5.6.100.0070.05220.95
5.6.90.0060.03920.89
5.6.80.0070.03720.38
5.6.70.0030.04520.30
5.6.60.0060.06220.40
5.6.50.0070.07220.17
5.6.40.0070.06320.28
5.6.30.0060.03820.28
5.6.20.0030.05020.35
5.6.10.0030.04520.41
5.6.00.0000.04420.50
5.5.380.0030.04617.53
5.5.370.0030.04717.47
5.5.360.0000.04517.84
5.5.350.0030.07717.52
5.5.340.0070.03918.15
5.5.330.0070.05518.16
5.5.320.0000.05318.14
5.5.310.0070.03718.13
5.5.300.0030.04118.11
5.5.290.0000.08618.16
5.5.280.0030.04218.24
5.5.270.0070.04018.13
5.5.260.0030.04718.06
5.5.250.0000.04717.91
5.5.240.0040.03617.49
5.5.230.0070.03517.48
5.5.220.0030.03917.44
5.5.210.0000.05217.48
5.5.200.0070.06617.52
5.5.190.0000.04317.48
5.5.180.0000.05017.19
5.5.160.0030.04217.45
5.5.150.0000.04217.54
5.5.140.0030.03717.19
5.5.130.0060.03417.50
5.5.120.0000.04417.47
5.5.110.0030.04217.49
5.5.100.0000.05417.19
5.5.90.0030.05017.35
5.5.80.0030.04317.35
5.5.70.0000.04017.45
5.5.60.0030.03817.38
5.5.50.0030.03617.30
5.5.40.0000.05517.34
5.5.30.0000.04017.37
5.5.20.0030.07817.37
5.5.10.0130.06617.40
5.5.00.0030.04317.38
5.4.450.0030.04719.45
5.4.440.0070.07619.36
5.4.430.0070.04319.45
5.4.420.0000.04119.58
5.4.410.0030.04019.29
5.4.400.0060.03519.26
5.4.390.0070.03419.29
5.4.380.0040.04619.26
5.4.370.0030.06919.05
5.4.360.0060.09119.26
5.4.350.0070.06919.23
5.4.340.0030.04219.03
5.4.320.0000.04319.24
5.4.310.0070.07619.23
5.4.300.0030.08019.20
5.4.290.0030.04019.14
5.4.280.0030.04119.14
5.4.270.0070.03319.05
5.4.260.0000.04419.23
5.4.250.0040.03619.04
5.4.240.0060.03519.27
5.4.230.0170.07019.12
5.4.220.0000.04219.04
5.4.210.0060.05519.28
5.4.200.0030.04319.05
5.4.190.0030.06719.29
5.4.180.0060.05819.04
5.4.170.0100.06718.95
5.4.160.0070.03719.07
5.4.150.0070.03918.94
5.4.140.0040.03516.79
5.4.130.0000.04916.61
5.4.120.0030.07416.81
5.4.110.0030.03516.68
5.4.100.0060.03916.84
5.4.90.0030.04216.92
5.4.80.0070.05316.75
5.4.70.0030.03916.81
5.4.60.0000.03716.84
5.4.50.0060.03916.57
5.4.40.0000.04416.67
5.4.30.0000.03616.53
5.4.20.0030.05816.79
5.4.10.0060.03516.77
5.4.00.0070.07316.05
5.3.290.0030.04415.07
5.3.280.0030.03515.07
5.3.270.0030.07015.07
5.3.260.0000.04315.07
5.3.250.0000.04115.07
5.3.240.0000.07615.07
5.3.230.0030.06315.07
5.3.220.0060.05415.07
5.3.210.0100.03515.07
5.3.200.0030.03715.07
5.3.190.0000.04215.07
5.3.180.0190.03515.07
5.3.170.0030.05115.07
5.3.160.0030.03615.07
5.3.150.0030.03415.07
5.3.140.0030.05315.07
5.3.130.0070.05815.07
5.3.120.0070.05215.07
5.3.110.0000.04515.07
5.3.100.0030.04815.07
5.3.90.0030.04115.07
5.3.80.0000.05315.07
5.3.70.0000.04515.07
5.3.60.0030.03715.07
5.3.50.0030.03615.07
5.3.40.0030.04015.07
5.3.30.0060.03515.07
5.3.20.0000.04015.07
5.3.10.0030.03815.07
5.3.00.0030.07015.07
5.2.170.0060.02615.07
5.2.160.0000.03015.07
5.2.150.0000.04415.07
5.2.140.0030.02815.07
5.2.130.0000.03215.07
5.2.120.0060.02515.07
5.2.110.0030.05215.07
5.2.100.0030.04115.07
5.2.90.0000.03515.07
5.2.80.0030.02915.07
5.2.70.0030.06015.07
5.2.60.0030.06615.07
5.2.50.0060.03215.07
5.2.40.0060.04515.07
5.2.30.0040.03315.07
5.2.20.0030.02715.07
5.2.10.0030.02715.07
5.2.00.0000.04115.07
5.1.60.0000.04915.07
5.1.50.0030.02815.07
5.1.40.0060.02815.07
5.1.30.0030.05815.07
5.1.20.0000.02915.07
5.1.10.0000.02915.07
5.1.00.0000.02815.07
5.0.50.0000.03215.07
5.0.40.0030.03815.07
5.0.30.0000.03715.07
5.0.20.0070.02815.07
5.0.10.0000.02215.07
5.0.00.0000.03215.07
4.4.90.0030.02115.07
4.4.80.0000.01715.07
4.4.70.0070.01115.07
4.4.60.0000.02015.07
4.4.50.0000.01815.07
4.4.40.0030.02415.07
4.4.30.0030.02315.07
4.4.20.0030.02115.07
4.4.10.0100.03915.07
4.4.00.0040.03215.07
4.3.110.0030.01415.07
4.3.100.0060.02415.07
4.3.90.0000.01815.07
4.3.80.0000.02815.07
4.3.70.0030.01515.07
4.3.60.0060.02415.07
4.3.50.0030.01315.07
4.3.40.0070.02015.07
4.3.30.0030.01615.07
4.3.20.0030.02115.07
4.3.10.0000.02215.07
4.3.00.0000.02215.07

preferences:
17.76 ms | 401 KiB | 5 Q