3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xpath = new DOMXPath($document); $xpath->registerNamespace('sig', 'http://www.w3.org/2000/09/xmldsig#'); $node = $xpath->query('//*[not(sig:SignatureValue)]'); $node->item(0)->nodeValue = 'sig';

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.40.0140.00718.74
8.3.30.0120.00319.04
8.3.20.0070.00720.34
8.3.10.0040.00422.04
8.3.00.0040.00422.39
8.2.170.0070.00722.96
8.2.160.0100.01020.77
8.2.150.0140.00424.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0000.00817.63
8.2.110.0060.00322.24
8.2.100.0110.00617.84
8.2.90.0030.00517.63
8.2.80.0030.00718.84
8.2.70.0080.00017.63
8.2.60.0000.00718.05
8.2.50.0030.00618.10
8.2.40.0030.00518.09
8.2.30.0070.00018.06
8.2.20.0050.00317.68
8.2.10.0000.00717.59
8.2.00.0040.00417.64
8.1.270.0080.00023.96
8.1.260.0060.00326.35
8.1.250.0090.00928.09
8.1.240.0000.01023.89
8.1.230.0070.00718.71
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0080.00417.22
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0090.00018.61
8.1.160.0030.00621.95
8.1.150.0040.00418.50
8.1.140.0040.00417.32
8.1.130.0080.00017.76
8.1.120.0050.00217.41
8.1.110.0020.00517.19
8.1.100.0000.00717.25
8.1.90.0040.00417.24
8.1.80.0030.00317.24
8.1.70.0030.00317.25
8.1.60.0030.00517.45
8.1.50.0000.00717.36
8.1.40.0000.00917.38
8.1.30.0040.00417.61
8.1.20.0040.00417.50
8.1.10.0000.00717.49
8.1.00.0040.00417.34
8.0.300.0000.00720.13
8.0.290.0070.00016.75
8.0.280.0000.00718.42
8.0.270.0030.00317.13
8.0.260.0060.00316.81
8.0.250.0030.00316.93
8.0.240.0040.00416.85
8.0.230.0040.00416.83
8.0.220.0000.00716.96
8.0.210.0070.00016.77
8.0.200.0030.00316.94
8.0.190.0050.00316.91
8.0.180.0030.00516.95
8.0.170.0040.00416.83
8.0.160.0040.00416.88
8.0.150.0030.00516.74
8.0.140.0060.00316.85
8.0.130.0000.00813.32
8.0.120.0000.00816.86
8.0.110.0040.00416.72
8.0.100.0050.00316.93
8.0.90.0040.00416.78
8.0.80.0030.01416.84
8.0.70.0040.00416.91
8.0.60.0040.00416.96
8.0.50.0050.00516.92
8.0.30.0100.00916.92
8.0.20.0110.00717.40
8.0.10.0070.00017.06
8.0.00.0110.00916.74
7.4.330.0020.00215.13
7.4.320.0030.00316.43
7.4.300.0030.00316.60
7.4.290.0030.00316.61
7.4.280.0000.00816.53
7.4.270.0000.00716.52
7.4.260.0070.00016.49
7.4.250.0070.00016.49
7.4.240.0030.00416.58
7.4.230.0030.00316.40
7.4.220.0130.00616.62
7.4.210.0070.00816.58
7.4.200.0000.00816.70
7.4.190.0050.00216.75
7.4.160.0080.00816.37
7.4.150.0070.01017.40
7.4.140.0130.00717.86
7.4.130.0140.00416.48
7.4.120.0070.01216.59
7.4.110.0150.00616.35
7.4.100.0170.00716.58
7.4.90.0070.01016.57
7.4.80.0000.01716.30
7.4.70.0060.01216.68
7.4.60.0120.00616.58
7.4.50.0050.00516.49
7.4.40.0070.01122.77
7.4.30.0130.00316.61
7.4.00.0090.00914.60
7.3.330.0030.00313.13
7.3.320.0050.00013.18
7.3.310.0000.00716.14
7.3.300.0000.00616.16
7.3.290.0080.00816.28
7.3.280.0080.00816.27
7.3.270.0140.00317.40
7.3.260.0150.00916.60
7.3.250.0100.01216.26
7.3.240.0060.01516.36
7.3.230.0040.01216.44
7.3.210.0090.00916.31
7.3.200.0060.01519.39
7.3.190.0070.01016.55
7.3.180.0110.01016.44
7.3.170.0060.00916.50
7.3.160.0070.01016.23
7.3.120.0090.00615.09
7.2.330.0120.00616.31
7.2.320.0100.00716.52
7.2.310.0080.00916.59
7.2.300.0070.01116.45
7.2.290.0100.00716.18
7.2.60.0060.00616.48
7.1.200.0000.01215.58
7.1.70.0040.00417.07
7.1.60.0030.02019.82
7.1.50.0090.00916.81
7.1.00.0000.08022.35
7.0.200.0090.00516.70
7.0.140.0000.07722.18
7.0.60.0130.07719.93
7.0.50.0130.07717.89
7.0.40.0100.08320.12
7.0.30.0270.05020.01
7.0.20.0400.07320.20
7.0.10.0100.04020.28
7.0.00.0070.05320.01
5.6.280.0070.07021.12
5.6.210.0070.03720.72
5.6.200.0100.08018.13
5.6.190.0000.06720.55
5.6.180.0370.03720.32
5.6.170.0300.03320.57
5.6.160.0070.04320.45
5.6.150.0100.08018.11
5.6.140.0130.03318.08
5.6.130.0130.06018.22
5.6.120.0100.03721.08
5.6.110.0100.08321.14
5.6.100.0070.03720.98
5.6.90.0000.05020.95
5.6.80.0270.06720.40
5.5.350.4270.04020.28
5.5.340.0170.05717.98
5.5.330.0130.04720.43
5.5.320.0230.05020.41
5.5.310.0230.08020.20
5.5.300.0030.04017.96
5.5.290.0070.05318.02
5.5.280.0200.07720.75
5.5.270.0100.08020.95
5.5.260.0130.05720.88
5.5.250.0030.08720.69
5.5.240.0130.06720.26
5.4.450.0270.05019.41
5.4.440.0400.04719.57
5.4.430.0430.04719.41
5.4.420.0400.07019.56
5.4.410.0400.05719.32
5.4.400.0400.07019.09
5.4.390.0430.06719.17
5.4.380.0370.05019.08
5.4.370.0370.06719.25
5.4.360.0400.06718.74
5.4.350.0370.07019.06
5.4.340.0270.07719.09
5.4.320.0400.07018.81
5.4.310.0400.07319.10
5.4.300.0300.04318.93
5.4.290.0300.03719.23
5.4.280.0470.06319.21
5.4.270.0470.05019.15
5.4.260.0270.04019.09
5.4.250.0370.03318.93
5.4.240.0330.05018.88
5.4.230.0400.06319.05
5.4.220.0300.05019.08
5.4.210.0330.03718.91
5.4.200.0300.04319.09
5.4.190.0330.07319.21
5.4.180.0400.06018.77
5.4.170.0400.07018.76
5.4.160.0370.04719.04
5.4.150.0370.05719.20
5.4.140.0330.03716.45
5.4.130.0270.03716.25
5.4.120.0270.03716.27
5.4.110.0300.05316.30
5.4.100.0270.04716.39
5.4.90.0300.04016.38
5.4.80.0400.05016.37
5.4.70.0270.06716.05
5.4.60.0330.06716.20
5.4.50.0270.03316.39
5.4.40.0270.03316.40
5.4.30.0200.04016.36
5.4.20.0230.03716.39
5.4.10.0230.03716.20
5.4.00.0330.06715.78
5.3.290.0230.04014.52
5.3.280.0300.04314.45
5.3.270.0370.04714.46
5.3.260.0330.05014.44
5.3.250.0370.04314.65
5.3.240.0270.03714.43
5.3.230.0270.04014.61
5.3.220.0330.06314.42
5.3.210.0330.07014.41
5.3.200.0600.02714.58
5.3.190.0370.03714.51
5.3.180.0270.05314.41
5.3.170.0400.06714.41
5.3.160.0370.04714.50
5.3.150.0370.06714.51
5.3.140.0370.05714.38
5.3.130.0300.03714.49
5.3.120.0400.05014.56
5.3.110.0300.04314.50
5.3.100.0370.05713.88
5.3.90.0370.05013.86
5.3.80.0400.06013.96
5.3.70.0330.04013.94
5.3.60.0370.06313.84
5.3.50.0330.06713.99
5.3.40.0270.06013.72
5.3.30.0370.04313.82
5.3.20.0370.06313.68
5.3.10.0330.04313.43
5.3.00.0300.03713.65
5.2.170.0300.03311.00
5.2.160.0200.03711.01
5.2.150.0200.05710.98
5.2.140.0270.04711.30
5.2.130.0170.03011.15
5.2.120.0230.04711.26
5.2.110.0300.05711.25
5.2.100.0230.05011.15
5.2.90.0200.03711.15
5.2.80.0270.05311.17
5.2.70.0230.03011.04
5.2.60.0170.03010.91
5.2.50.0270.02311.09
5.2.40.0270.05311.11
5.2.30.0300.03310.88
5.2.20.0230.05310.89
5.2.10.0230.06010.86
5.2.00.0200.03710.75
5.1.60.0200.02710.75
5.1.50.0330.04010.76
5.1.40.0270.04710.76
5.1.30.0300.05010.76
5.1.20.0230.03710.77
5.1.10.0230.03310.77
5.1.00.0200.03710.77
5.0.50.0200.02310.78
5.0.40.0170.03710.80
5.0.30.0130.04310.81
5.0.20.0130.02010.83
5.0.10.0200.03710.84
5.0.00.0130.03010.85
4.4.90.0130.02310.86
4.4.80.0100.03710.86
4.4.70.0130.02710.86
4.4.60.0130.03310.86
4.4.50.0100.02710.86
4.4.40.0130.05010.87
4.4.30.0130.02310.88
4.4.20.0170.01710.88
4.4.10.0100.03010.89
4.4.00.0100.05310.90
4.3.110.0130.03010.90
4.3.100.0170.03010.91
4.3.90.0130.02710.91
4.3.80.0200.02310.91
4.3.70.0100.02710.92
4.3.60.0130.03310.94
4.3.50.0170.02710.94
4.3.40.0170.02710.95
4.3.30.0070.03010.95
4.3.20.0030.02310.95
4.3.10.0100.03310.95
4.3.00.0100.01310.95

preferences:
42.67 ms | 400 KiB | 5 Q