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->textContent. "\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.0140.00718.56
8.3.50.0110.00822.17
8.3.40.0000.01418.86
8.3.30.0150.00019.37
8.3.20.0090.00020.71
8.3.10.0040.00422.52
8.3.00.0040.00420.89
8.2.180.0120.00316.88
8.2.170.0100.00722.96
8.2.160.0120.00319.50
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0110.00726.16
8.2.120.0000.00819.60
8.2.110.0100.00022.52
8.2.100.0050.00519.82
8.2.90.0080.00019.46
8.2.80.0000.00818.03
8.2.70.0030.00618.00
8.2.60.0080.00018.41
8.2.50.0030.00518.07
8.2.40.0040.00420.13
8.2.30.0000.00818.26
8.2.20.0040.00418.05
8.2.10.0040.00418.07
8.2.00.0030.00518.02
8.1.280.0030.01025.92
8.1.270.0040.00422.39
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00324.22
8.1.230.0070.00719.33
8.1.220.0000.00817.79
8.1.210.0090.00018.77
8.1.200.0030.00617.60
8.1.190.0040.00417.78
8.1.180.0030.00519.00
8.1.170.0080.00018.88
8.1.160.0040.00422.54
8.1.150.0000.00718.87
8.1.140.0060.00317.73
8.1.130.0020.00517.72
8.1.120.0040.00417.78
8.1.110.0110.00017.70
8.1.100.0020.00517.84
8.1.90.0000.00717.74
8.1.80.0050.00217.67
8.1.70.0030.00317.72
8.1.60.0030.00617.98
8.1.50.0070.00017.84
8.1.40.0040.00417.91
8.1.30.0080.00018.00
8.1.20.0030.00617.96
8.1.10.0000.00817.93
8.1.00.0000.00717.86
8.0.300.0000.00818.77
8.0.290.0050.00317.43
8.0.280.0000.00718.76
8.0.270.0040.00417.61
8.0.260.0070.00017.11
8.0.250.0000.00717.34
8.0.240.0000.00817.38
8.0.230.0000.00817.37
8.0.220.0030.00317.18
8.0.210.0040.00417.34
8.0.200.0070.00017.36
8.0.190.0090.00017.40
8.0.180.0040.00417.34
8.0.170.0000.00817.25
8.0.160.0080.00017.28
8.0.150.0030.00317.26
8.0.140.0000.00717.31
8.0.130.0000.00613.73
8.0.120.0030.00617.28
8.0.110.0000.00817.25
8.0.100.0050.00317.37
8.0.90.0030.00617.30
8.0.80.0070.00717.21
8.0.70.0080.00017.20
8.0.60.0000.00817.39
8.0.50.0070.00017.21
8.0.30.0100.00917.38
8.0.20.0080.01117.63
8.0.10.0000.00817.34
8.0.00.0110.00917.02
7.4.330.0000.00615.50
7.4.320.0030.00316.87
7.4.300.0030.00316.76
7.4.290.0050.00216.82
7.4.280.0000.00716.91
7.4.270.0080.00016.89
7.4.260.0070.00316.92
7.4.250.0040.00416.92
7.4.240.0020.00616.88
7.4.230.0000.00716.87
7.4.220.0160.01016.96
7.4.210.0090.00617.00
7.4.200.0000.00716.86
7.4.190.0030.00316.80
7.4.160.0060.00916.95
7.4.150.0130.01017.40
7.4.140.0140.00617.86
7.4.130.0140.00516.87
7.4.120.0090.01117.00
7.4.110.0110.00716.82
7.4.100.0110.00616.80
7.4.90.0170.00416.64
7.4.80.0060.01319.39
7.4.70.0140.00916.89
7.4.60.0130.00316.70
7.4.50.0000.00716.64
7.4.40.0100.00722.77
7.4.30.0070.01016.75
7.4.00.0130.00315.13
7.3.330.0050.00013.50
7.3.320.0000.00513.52
7.3.310.0040.00416.58
7.3.300.0040.00416.64
7.3.290.0080.00616.57
7.3.280.0100.00816.68
7.3.270.0100.00717.40
7.3.260.0120.01216.64
7.3.250.0150.00616.90
7.3.240.0110.00616.69
7.3.230.0100.01316.68
7.3.210.0300.01016.91
7.3.200.0070.01019.39
7.3.190.0100.00816.98
7.3.180.0110.00616.64
7.3.170.0080.00816.86
7.3.160.0060.00916.90
7.3.120.0090.00014.88
7.2.330.0040.01516.82
7.2.320.0090.00917.15
7.2.310.0100.00717.06
7.2.300.0090.00916.80
7.2.290.0080.00817.07
7.2.60.0070.00717.20
7.1.200.0030.01016.24
7.1.70.0000.00717.17
7.1.60.0070.01819.82
7.1.50.0060.00917.18
7.1.00.0000.08022.53
7.0.200.0080.00816.59
7.0.140.0070.07022.11
7.0.60.0230.06019.94
7.0.50.0230.04718.10
7.0.40.0070.05020.46
7.0.30.0370.07020.35
7.0.20.0270.07320.30
7.0.10.0070.08320.43
7.0.00.0100.08320.31
5.6.280.0030.09021.14
5.6.210.0100.07720.89
5.6.200.0030.08018.20
5.6.190.0130.05720.82
5.6.180.0230.03720.55
5.6.170.0270.08320.49
5.6.160.0070.06720.71
5.6.150.0070.04318.33
5.6.140.0100.07718.25
5.6.130.0100.06018.32
5.6.120.0130.03321.16
5.6.110.0170.07321.23
5.6.100.0100.03721.19
5.6.90.0300.08020.99
5.6.80.0070.08320.54
5.5.350.0100.03320.63
5.5.340.0000.04318.08
5.5.330.0100.03720.58
5.5.320.0330.05720.31
5.5.310.0170.04720.64
5.5.300.0070.04718.16
5.5.290.0070.05718.08
5.5.280.0070.04021.02
5.5.270.0170.05020.97
5.5.260.0070.07020.98
5.5.250.0100.07720.88
5.5.240.0130.06720.22
5.4.450.0270.05719.39
5.4.440.0170.05019.59
5.4.430.0170.05719.63
5.4.420.0370.05719.69
5.4.410.0970.05019.55
5.4.400.0170.04719.30
5.4.390.0230.05019.34
5.4.380.0370.05318.55
5.4.370.0170.08718.82
5.4.360.0200.06018.65
5.4.350.0130.06318.83
5.4.340.0130.05318.67
5.4.320.0060.04512.71
5.4.310.0080.04212.70
5.4.300.0090.03512.70
5.4.290.0070.04112.70
5.4.280.0070.03612.59
5.4.270.0040.03912.59
5.4.260.0100.04719.05
5.4.250.0070.05319.04
5.4.240.0130.07319.01
5.4.230.0070.05018.79
5.4.220.0100.07319.02
5.4.210.0200.06019.01
5.4.200.0200.07019.02
5.4.190.0100.05318.79
5.4.180.0070.05319.07
5.4.170.0170.04018.97
5.4.160.0100.05318.95
5.4.150.0070.06019.02
5.4.140.0070.05316.43
5.4.130.0070.06716.41
5.4.120.0100.04716.44
5.4.110.0030.08016.48
5.4.100.0200.03716.53
5.4.90.0070.05316.68
5.4.80.0100.05316.68
5.4.70.0070.07716.46
5.4.60.0030.05316.35
5.4.50.0070.05316.42
5.4.40.0030.06016.45
5.4.30.0070.05316.29
5.4.20.0070.07316.66
5.4.10.0170.06316.45
5.4.00.0100.04715.86
5.3.290.0080.05412.96
5.3.280.0070.05014.80
5.3.270.0130.05014.66
5.3.260.0130.04314.69
5.3.250.0070.05014.70
5.3.240.0030.05314.63
5.3.230.0270.05714.58
5.3.220.0030.07714.73
5.3.210.0000.06014.73
5.3.200.0100.05314.72
5.3.190.0070.05714.64
5.3.180.0070.05714.64
5.3.170.0170.07014.65
5.3.160.0130.06714.62
5.3.150.0170.04714.54
5.3.140.0070.06314.76
5.3.130.0270.04314.52
5.3.120.0100.06314.60
5.3.110.0070.05314.72
5.3.100.0070.05314.24
5.3.90.0070.05014.18
5.3.80.0170.05014.24
5.3.70.0030.07014.16
5.3.60.0070.05014.15
5.3.50.0070.06714.00
5.3.40.0100.05014.03
5.3.30.0130.05314.00
5.3.20.0100.04313.67
5.3.10.0170.03713.63
5.3.00.0270.05013.70
5.2.170.0070.04711.18
5.2.160.0070.03711.23
5.2.150.0100.04011.23
5.2.140.0100.04711.29
5.2.130.0030.04011.17
5.2.120.0070.04711.13
5.2.110.0070.04011.13
5.2.100.0000.04311.18
5.2.90.0030.04711.32
5.2.80.0030.04311.18
5.2.70.0130.03711.13
5.2.60.0030.06311.28
5.2.50.0100.05311.24
5.2.40.0100.03711.03
5.2.30.0100.04011.13
5.2.20.0100.04711.25
5.2.10.0070.05310.93
5.2.00.0030.04310.75
5.1.60.0100.04310.20
5.1.50.0030.03710.04
5.1.40.0000.03710.20
5.1.30.0200.02710.47
5.1.20.0000.04010.39
5.1.10.0030.03710.16
5.1.00.0100.04010.27
5.0.50.0030.0308.64
5.0.40.0070.0238.49
5.0.30.0070.0378.44
5.0.20.0070.0238.31
5.0.10.0030.0278.29
5.0.00.0030.0438.45
4.4.90.0000.0235.81
4.4.80.0070.0275.79
4.4.70.0030.0206.51
4.4.60.0000.0276.51
4.4.50.0070.0176.51
4.4.40.0000.0336.51
4.4.30.0030.0206.51
4.4.20.0100.0236.51
4.4.10.0000.0236.51
4.4.00.0000.0336.51
4.3.110.0030.0276.51
4.3.100.0070.0176.51
4.3.90.0000.0276.51
4.3.80.0070.0336.51
4.3.70.0000.0236.51
4.3.60.0030.0206.51
4.3.50.0030.0206.51
4.3.40.0000.0336.51
4.3.30.0000.0306.51
4.3.20.0030.0206.51
4.3.10.0070.0206.51
4.3.00.0030.0277.38

preferences:
48.58 ms | 401 KiB | 5 Q