3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument; $foo = $doc->appendChild($doc->createElement('foo')); $bar = $foo->appendChild($doc->createElement('bar')); $bar->appendChild($doc->createTextNode('baz')); $bar = $foo->appendChild($doc->createElement('bar')); $bar->appendChild($doc->createTextNode('baz')); echo $foo->C14N(true, false, array('query' => '//bar'));

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.0110.00416.74
8.3.60.0070.01418.80
8.3.50.0120.01016.87
8.3.40.0120.00319.14
8.3.30.0110.00718.97
8.3.20.0030.00618.89
8.3.10.0050.00320.64
8.3.00.0050.00317.75
8.2.180.0030.01417.00
8.2.170.0140.00322.96
8.2.160.0170.00322.43
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00820.20
8.2.110.0040.00422.44
8.2.100.0130.00018.16
8.2.90.0000.00819.52
8.2.80.0080.00017.97
8.2.70.0030.00717.88
8.2.60.0000.00818.16
8.2.50.0000.00818.07
8.2.40.0060.00318.47
8.2.30.0000.00718.28
8.2.20.0040.00418.07
8.2.10.0000.00717.88
8.2.00.0060.00317.79
8.1.280.0090.01225.92
8.1.270.0040.00423.99
8.1.260.0070.00726.35
8.1.250.0000.00828.09
8.1.240.0000.00924.03
8.1.230.0090.00321.22
8.1.220.0060.00317.91
8.1.210.0000.00918.77
8.1.200.0040.00417.48
8.1.190.0000.00917.68
8.1.180.0000.00918.10
8.1.170.0050.00318.98
8.1.160.0040.00419.06
8.1.150.0030.00618.86
8.1.140.0000.00817.70
8.1.130.0030.00318.12
8.1.120.0040.00417.68
8.1.110.0040.00417.63
8.1.100.0040.00417.55
8.1.90.0030.00617.71
8.1.80.0000.00717.59
8.1.70.0030.00317.65
8.1.60.0000.00817.85
8.1.50.0040.00417.65
8.1.40.0040.00417.62
8.1.30.0000.00817.88
8.1.20.0040.00417.91
8.1.10.0040.00417.71
8.1.00.0020.00517.84
8.0.300.0050.00218.77
8.0.290.0050.00317.00
8.0.280.0050.00218.79
8.0.270.0050.00217.51
8.0.260.0070.00018.86
8.0.250.0040.00417.26
8.0.240.0030.00717.29
8.0.230.0070.00016.99
8.0.220.0040.00417.11
8.0.210.0030.00317.12
8.0.200.0030.00317.02
8.0.190.0030.00517.11
8.0.180.0030.00517.04
8.0.170.0000.00817.17
8.0.160.0030.00317.19
8.0.150.0030.00617.15
8.0.140.0070.00317.10
8.0.130.0080.00013.64
8.0.120.0080.00017.02
8.0.110.0040.00417.07
8.0.100.0080.00016.99
8.0.90.0000.00717.11
8.0.80.0130.00617.10
8.0.70.0040.00417.06
8.0.60.0080.00017.07
8.0.50.0070.00016.98
8.0.30.0060.01217.30
8.0.20.0070.01317.30
8.0.10.0030.00517.17
8.0.00.0080.01117.04
7.4.330.0000.00614.97
7.4.320.0060.00016.84
7.4.300.0000.00616.78
7.4.290.0070.00016.84
7.4.280.0060.00316.76
7.4.270.0040.00316.80
7.4.260.0000.00513.54
7.4.250.0000.00716.68
7.4.240.0070.00016.80
7.4.230.0000.00716.86
7.4.220.0030.01516.78
7.4.210.0080.00716.81
7.4.200.0030.00316.98
7.4.190.0030.00316.77
7.4.160.0080.00816.71
7.4.150.0130.00917.07
7.4.140.0070.01217.30
7.4.130.0080.00916.77
7.4.120.0090.01116.68
7.4.110.0150.00316.59
7.4.100.0100.00716.97
7.4.90.0120.00616.74
7.4.80.0130.00718.80
7.4.70.0130.01016.98
7.4.60.0160.00716.86
7.4.50.0030.00616.45
7.4.40.0100.00722.27
7.4.30.0090.00916.90
7.4.00.0060.00915.09
7.3.330.0000.00613.26
7.3.320.0030.00313.33
7.3.310.0030.00316.34
7.3.300.0030.00316.42
7.3.290.0060.00616.35
7.3.280.0120.00616.41
7.3.270.0070.01017.07
7.3.260.0120.01118.24
7.3.250.0130.01116.41
7.3.240.0060.01516.61
7.3.230.0120.00616.71
7.3.210.0100.00716.36
7.3.200.0100.00719.39
7.3.190.0060.01016.70
7.3.180.0000.01516.39
7.3.170.0090.00616.61
7.3.160.0030.01616.59
7.3.120.0000.00914.96
7.2.330.0090.00916.85
7.2.320.0090.00616.72
7.2.310.0130.01316.96
7.2.300.0140.00717.03
7.2.290.0060.01016.70
7.2.00.0060.00919.52
7.1.100.0040.00918.00
7.1.70.0000.00917.28
7.1.60.0070.01819.40
7.1.50.0100.00016.89
7.1.00.0070.07322.55
7.0.200.0030.00516.85
7.0.140.0070.06722.25
7.0.60.0000.05020.16
7.0.50.0070.04017.85
7.0.40.0070.04020.25
7.0.30.0170.04320.32
7.0.20.0300.07720.14
7.0.10.0070.04320.42
7.0.00.0030.06320.43
5.6.280.0030.07321.21
5.6.210.0130.07320.80
5.6.200.0100.07718.26
5.6.190.0100.08720.91
5.6.180.0200.08020.47
5.6.170.0270.05320.75
5.6.160.0070.04020.52
5.6.150.0070.06718.36
5.6.140.0070.08018.35
5.6.130.0070.08018.25
5.6.120.0030.08321.23
5.6.110.0070.07321.12
5.6.100.0070.06021.22
5.6.90.0170.08021.23
5.6.80.0170.04720.50
5.5.350.0130.07020.47
5.5.340.0070.07018.20
5.5.330.0100.08020.29
5.5.320.0300.06320.49
5.5.310.0200.04320.50
5.5.300.0170.07318.12
5.5.290.0030.08318.15
5.5.280.0070.04021.02
5.5.270.0030.05320.88
5.5.260.0100.06320.89
5.5.250.0070.08020.88
5.5.240.0300.07020.27
5.4.450.0070.06719.29
5.4.440.0030.07319.59
5.4.430.0130.07719.32
5.4.420.0130.08019.44
5.4.410.0170.06719.42
5.4.400.0100.04319.22
5.4.390.0100.04319.19
5.4.380.0070.03718.97
5.4.370.0070.07018.93
5.4.360.0070.07719.29
5.4.350.0030.05719.32
5.4.340.0100.05719.32
5.4.320.0000.05319.15
5.4.310.0030.08319.29
5.4.300.0100.05019.32
5.4.290.0070.08019.31
5.4.280.0130.03319.32
5.4.270.0100.06318.93
5.4.260.0100.04718.95
5.4.250.0130.07719.30
5.4.240.0130.05719.28
5.4.230.0030.06719.02
5.4.220.0030.06319.29
5.4.210.0030.08019.18
5.4.200.0100.06319.18
5.4.190.0100.06318.98
5.4.180.0070.04319.27
5.4.170.0030.06719.11
5.4.160.0030.04719.16
5.4.150.0070.04718.97
5.4.140.0100.03316.54
5.4.130.0030.03716.63
5.4.120.0030.07016.48
5.4.110.0000.07316.59
5.4.100.0070.05016.60
5.4.90.0100.05716.60
5.4.80.0000.04016.57
5.4.70.0030.04016.50
5.4.60.0070.04016.78
5.4.50.0100.07316.46
5.4.40.0030.04716.70
5.4.30.0030.05316.47
5.4.20.0070.03716.53
5.4.10.0000.05016.40
5.4.00.0130.06715.86
5.3.290.0070.07714.71
5.3.280.0070.05714.73
5.3.270.0070.05714.71
5.3.260.0000.05314.71
5.3.250.0070.05014.70
5.3.240.0030.04314.75
5.3.230.0070.07714.71
5.3.220.0070.04714.80
5.3.210.0030.05014.59
5.3.200.0000.08314.66
5.3.190.0070.03714.70
5.3.180.0100.07314.70
5.3.170.0030.05714.63
5.3.160.0070.04014.73
5.3.150.0130.06714.69
5.3.140.0170.06314.64
5.3.130.0100.03314.66
5.3.120.0070.06314.62
5.3.110.0100.07714.61
5.3.100.0030.07314.05
5.3.90.0030.07314.11
5.3.80.0000.08014.18
5.3.70.0100.03314.10
5.3.60.0070.06714.09
5.3.50.0030.04014.05
5.3.40.0070.06714.04
5.3.30.0030.06714.00
5.3.20.0070.07013.85
5.3.10.0000.04313.75
5.3.00.0030.03713.79
5.2.170.0000.03311.25
5.2.160.0030.03711.29
5.2.150.0070.06011.34
5.2.140.0130.05711.16
5.2.130.0070.04011.22
5.2.120.0100.04011.23
5.2.110.0000.03711.18
5.2.100.0030.06011.25
5.2.90.0100.05711.21
5.2.80.0070.05711.18
5.2.70.0070.05711.29
5.2.60.0000.04711.20
5.2.50.0000.04311.16
5.2.40.0170.03711.12
5.2.30.0070.03711.11
5.2.20.0030.03711.09
5.2.10.0030.04311.01
5.2.00.0000.03310.77
5.1.60.0070.0209.98
5.1.50.0070.05010.05
5.1.40.0000.0509.97
5.1.30.0000.06010.33
5.1.20.0030.05310.36
5.1.10.0030.06010.06
5.1.00.0070.04010.21
5.0.50.0000.0338.46
5.0.40.0070.0338.46
5.0.30.0030.0438.23
5.0.20.0030.0438.22
5.0.10.0070.0408.24
5.0.00.0000.0538.18
4.4.90.0030.0307.74
4.4.80.0000.0177.74
4.4.70.0030.0377.74
4.4.60.0000.0377.74
4.4.50.0000.0377.74
4.4.40.0070.0277.74
4.4.30.0070.0307.74
4.4.20.0000.0377.74
4.4.10.0030.0137.74
4.4.00.0000.0607.74
4.3.110.0070.0207.74
4.3.100.0070.0277.74
4.3.90.0000.0237.74
4.3.80.0000.0307.74
4.3.70.0070.0207.74
4.3.60.0070.0137.74
4.3.50.0030.0337.75
4.3.40.0030.0407.76
4.3.30.0030.0207.77
4.3.20.0030.0277.77
4.3.10.0030.0337.78
4.3.00.0030.0307.79

preferences:
78.25 ms | 401 KiB | 5 Q