3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html=<<<END <div class="resultFound"> <font class="orangebold">110</font> Properties Found </div> END; $doc = new DOMDocument(); $doc->loadHTML($html); $xpath = new DOMXPath($doc); $fonts = $xpath->query('//div[@class="resultFound"]/font[@class="orangebold"]'); //foreach($fonts as $font) { echo $font->item(0)->nodeValue. "\n"; } ?>

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.0070.00718.56
8.3.50.0160.00522.04
8.3.40.0070.00719.20
8.3.30.0180.00019.13
8.3.20.0040.00420.54
8.3.10.0000.00822.47
8.3.00.0040.00421.02
8.2.180.0120.00916.87
8.2.170.0070.00722.96
8.2.160.0090.00619.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0120.00326.16
8.2.120.0060.00319.73
8.2.110.0060.00320.77
8.2.100.0080.00418.00
8.2.90.0080.00019.33
8.2.80.0040.00418.05
8.2.70.0060.00317.88
8.2.60.0040.00418.18
8.2.50.0000.00818.07
8.2.40.0030.00520.20
8.2.30.0000.00718.30
8.2.20.0000.00817.93
8.2.10.0000.00718.09
8.2.00.0000.00818.03
8.1.280.0110.00425.92
8.1.270.0050.00322.48
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0080.00319.51
8.1.230.0080.00417.61
8.1.220.0000.00818.03
8.1.210.0080.00018.77
8.1.200.0060.00317.60
8.1.190.0050.00317.90
8.1.180.0090.00018.86
8.1.170.0040.00818.75
8.1.160.0040.00422.46
8.1.150.0040.00418.82
8.1.140.0070.00417.73
8.1.130.0030.00318.11
8.1.120.0000.00817.80
8.1.110.0030.00617.64
8.1.100.0070.00017.76
8.1.90.0040.00417.62
8.1.80.0000.00717.68
8.1.70.0000.00717.64
8.1.60.0040.00417.88
8.1.50.0000.00717.89
8.1.40.0020.00517.77
8.1.30.0000.00817.96
8.1.20.0050.00318.02
8.1.10.0080.00017.93
8.1.00.0050.00317.71
8.0.300.0080.00018.77
8.0.290.0000.00817.29
8.0.280.0030.00318.66
8.0.270.0070.00017.55
8.0.260.0030.00317.19
8.0.250.0050.00317.19
8.0.240.0000.00717.26
8.0.230.0040.00417.27
8.0.220.0000.00817.09
8.0.210.0040.00417.13
8.0.200.0000.00717.28
8.0.190.0060.00317.24
8.0.180.0080.00017.11
8.0.170.0000.00717.26
8.0.160.0000.00817.08
8.0.150.0030.00517.04
8.0.140.0040.00417.21
8.0.130.0030.00313.63
8.0.120.0030.00517.07
8.0.110.0000.00717.14
8.0.100.0030.00617.14
8.0.90.0040.00417.29
8.0.80.0080.00817.21
8.0.70.0050.00317.13
8.0.60.0000.00817.32
8.0.50.0040.00417.32
8.0.30.0080.01117.21
8.0.20.0140.00817.40
8.0.10.0070.00017.37
8.0.00.0080.01016.96
7.4.330.0030.00315.25
7.4.320.0060.00016.93
7.4.300.0000.00616.88
7.4.290.0030.00316.95
7.4.280.0040.00416.95
7.4.270.0030.00316.99
7.4.260.0070.00316.76
7.4.250.0000.00816.95
7.4.240.0030.00516.91
7.4.230.0070.00016.96
7.4.220.0120.00817.05
7.4.210.0110.00716.92
7.4.200.0070.00016.74
7.4.190.0040.00416.90
7.4.160.0060.00916.85
7.4.150.0100.01017.40
7.4.140.0130.01117.86
7.4.130.0080.01116.84
7.4.120.0110.00716.84
7.4.110.0140.00917.05
7.4.100.0080.01216.95
7.4.90.0030.01416.92
7.4.80.0130.01019.39
7.4.70.0080.01116.89
7.4.60.0140.00416.79
7.4.50.0040.00417.00
7.4.40.0070.01022.77
7.4.30.0050.01116.57
7.4.00.0070.01115.30
7.3.330.0030.00313.44
7.3.320.0050.00013.53
7.3.310.0070.00016.61
7.3.300.0070.00016.48
7.3.290.0060.00916.49
7.3.280.0110.00716.59
7.3.270.0130.00417.40
7.3.260.0140.01116.58
7.3.250.0100.00716.64
7.3.240.0060.01216.85
7.3.230.0140.00316.90
7.3.210.0110.01116.46
7.3.200.0140.00719.39
7.3.190.0060.01216.85
7.3.180.0090.00916.63
7.3.170.0140.00616.64
7.3.160.0060.00916.61
7.3.120.0060.00914.88
7.3.10.0040.01116.61
7.3.00.0050.00716.67
7.2.330.0120.00617.04
7.2.320.0170.00016.59
7.2.310.0090.00917.02
7.2.300.0110.00516.93
7.2.290.0080.00916.63
7.2.130.0020.01116.72
7.2.120.0040.01216.88
7.2.110.0070.00716.78
7.2.100.0080.00716.72
7.2.90.0080.00816.91
7.2.80.0020.01116.85
7.2.70.0100.00716.78
7.2.60.0060.01016.94
7.2.50.0070.00716.90
7.2.40.0070.00716.89
7.2.30.0090.00316.96
7.2.20.0050.00916.75
7.2.10.0070.01016.74
7.2.00.0060.00817.84
7.1.250.0040.00915.73
7.1.200.0000.01415.86
7.1.100.0110.00018.15
7.1.70.0030.00516.94
7.1.60.0120.01219.82
7.1.50.0120.00917.11
7.1.00.0070.07322.68
7.0.200.0030.01016.50
7.0.140.0030.09722.16
7.0.60.0100.08319.98
7.0.50.0070.03718.00
7.0.40.0170.06020.27
7.0.30.0230.06020.30
7.0.20.0300.05020.29
7.0.10.0270.04320.32
7.0.00.0000.05020.58
5.6.280.0030.07321.22
5.6.210.0100.06320.61
5.6.200.0130.07018.28
5.6.190.0030.09320.67
5.6.180.4070.04020.93
5.6.170.0230.04020.52
5.6.160.0030.08720.57
5.6.150.0100.07018.32
5.6.140.0100.07318.34
5.6.130.0070.05018.32
5.6.120.0070.08721.17
5.6.110.0100.06321.15
5.6.100.0170.07321.14
5.6.90.0070.08021.14
5.6.80.0100.07720.52
5.6.70.0270.07020.57
5.5.350.0070.05320.50
5.5.340.0100.07718.06
5.5.330.0100.08320.38
5.5.320.0170.05020.43
5.5.310.0270.08020.51
5.5.300.0070.07318.15
5.5.290.0130.07018.12
5.5.280.0170.07020.88
5.5.270.0130.06321.08
5.5.260.0130.05720.93
5.5.250.0000.08020.69
5.5.240.0100.07720.32
5.4.450.0400.06319.70
5.4.440.0230.05719.79
5.4.430.0130.06019.59
5.4.420.0170.05019.89
5.4.410.0130.05719.38
5.4.400.1670.00018.66
5.4.390.1170.00018.71
5.4.380.0330.06018.70
5.4.370.0830.05018.88
5.4.360.0670.04318.91
5.4.350.0670.06318.89
5.4.340.0830.05318.61
5.4.320.0080.04212.70
5.4.310.0080.04312.70
5.4.300.0080.03612.71
5.4.290.0090.03612.70
5.4.280.0060.03712.60
5.4.270.0080.03712.60
5.4.260.0170.04019.08
5.4.250.0070.05018.97
5.4.240.0130.04318.98
5.4.230.0100.05018.97
5.4.220.0070.06319.09
5.4.210.0100.07718.76
5.4.200.0070.05018.94
5.4.190.0130.04318.93
5.4.180.0070.05318.78
5.4.170.0000.06019.03
5.4.160.0070.05319.09
5.4.150.0130.08018.76
5.4.140.0100.05316.42
5.4.130.0070.05016.44
5.4.120.0070.05016.44
5.4.110.0170.04716.48
5.4.100.0030.05316.75
5.4.90.0100.05316.48
5.4.80.0200.03716.72
5.4.70.0030.05016.67
5.4.60.0200.03716.64
5.4.50.0070.05016.59
5.4.40.0030.05016.67
5.4.30.0070.04716.39
5.4.20.0030.05316.45
5.4.10.0030.05316.65
5.4.00.0170.04016.10
5.3.290.0080.04312.96
5.3.280.0170.06014.89
5.3.270.0030.05714.50
5.3.260.0000.05714.82
5.3.250.0100.05014.63
5.3.240.0070.05014.63
5.3.230.0030.05014.75
5.3.220.0070.05314.80
5.3.210.0130.04714.54
5.3.200.0030.05314.57
5.3.190.0030.07014.54
5.3.180.0030.06314.65
5.3.170.0100.05714.72
5.3.160.0030.05314.62
5.3.150.0070.05014.65
5.3.140.0000.06014.58
5.3.130.0100.05014.71
5.3.120.0170.06314.73
5.3.110.0130.05314.52
5.3.100.0070.05714.14
5.3.90.0100.04314.10
5.3.80.0000.05313.99
5.3.70.0100.04714.19
5.3.60.0070.04714.18
5.3.50.0030.05313.84
5.3.40.0170.04014.17
5.3.30.0030.05314.14
5.3.20.0070.04713.85
5.3.10.0100.04313.70
5.3.00.0070.05013.69
5.2.170.0070.04011.26
5.2.160.0000.06311.10
5.2.150.0000.04311.30
5.2.140.0000.04311.21
5.2.130.0100.03311.19
5.2.120.0070.03711.17
5.2.110.0070.03711.13
5.2.100.0030.04311.16
5.2.90.0070.03711.25
5.2.80.0070.05311.13
5.2.70.0000.04711.12
5.2.60.0030.04711.08
5.2.50.0000.06011.10
5.2.40.0070.03711.11
5.2.30.0000.04311.26
5.2.20.0070.03711.16
5.2.10.0070.03711.07
5.2.00.0000.04310.70
5.1.60.0070.03010.21
5.1.50.0030.03310.13
5.1.40.0070.03010.20
5.1.30.0000.04010.46
5.1.20.0030.03710.66
5.1.10.0070.03010.19
5.1.00.0030.04010.29
5.0.50.0130.0178.64
5.0.40.0070.0278.54
5.0.30.0000.0438.21
5.0.20.0030.0278.31
5.0.10.0000.0378.50
5.0.00.0070.0378.31
4.4.90.0030.0205.77
4.4.80.0030.0235.83
4.4.70.0030.0205.76
4.4.60.0000.0235.79
4.4.50.0030.0205.78
4.4.40.0070.0305.78
4.4.30.0000.0235.75
4.4.20.0030.0205.90
4.4.10.0070.0175.84
4.4.00.0030.0335.81
4.3.110.0070.0175.78
4.3.100.0000.0235.70
4.3.90.0000.0305.65
4.3.80.0070.0275.76
4.3.70.0000.0205.81
4.3.60.0070.0175.74
4.3.50.0030.0205.67
4.3.40.0100.0235.56
4.3.30.0030.0205.20
4.3.20.0000.0235.20
4.3.10.0070.0275.20
4.3.00.0030.0209.24

preferences:
42.95 ms | 401 KiB | 5 Q