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 $fonts->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.0110.00418.55
8.3.50.0150.00622.11
8.3.40.0040.01119.01
8.3.30.0030.01219.29
8.3.20.0080.00020.59
8.3.10.0080.00022.52
8.3.00.0080.00020.94
8.2.180.0070.01017.00
8.2.170.0110.00722.96
8.2.160.0070.00720.77
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00319.73
8.2.110.0030.00622.45
8.2.100.0100.00319.98
8.2.90.0030.00619.42
8.2.80.0040.00418.05
8.2.70.0000.00917.88
8.2.60.0030.00618.18
8.2.50.0000.00818.07
8.2.40.0080.00020.20
8.2.30.0040.00420.19
8.2.20.0040.00417.95
8.2.10.0040.00418.14
8.2.00.0080.00017.95
8.1.280.0110.00725.92
8.1.270.0050.00322.29
8.1.260.0030.00726.35
8.1.250.0060.00328.09
8.1.240.0060.00324.14
8.1.230.0000.01019.32
8.1.220.0000.00818.04
8.1.210.0080.00018.77
8.1.200.0000.00917.36
8.1.190.0040.00417.54
8.1.180.0040.00418.95
8.1.170.0050.00518.88
8.1.160.0040.00422.43
8.1.150.0000.00818.87
8.1.140.0090.00017.68
8.1.130.0000.00718.11
8.1.120.0030.00517.82
8.1.110.0040.00417.81
8.1.100.0000.00717.71
8.1.90.0000.00717.79
8.1.80.0000.00717.86
8.1.70.0030.00317.77
8.1.60.0000.00817.98
8.1.50.0040.00417.73
8.1.40.0030.00617.90
8.1.30.0000.00817.93
8.1.20.0080.00017.91
8.1.10.0040.00417.83
8.1.00.0000.00817.81
8.0.300.0000.00718.77
8.0.290.0040.00417.40
8.0.280.0000.00718.75
8.0.270.0050.00217.70
8.0.260.0000.00617.23
8.0.250.0070.00017.34
8.0.240.0040.00417.36
8.0.230.0040.00417.38
8.0.220.0070.00017.35
8.0.210.0000.00817.27
8.0.200.0050.00217.37
8.0.190.0030.00617.28
8.0.180.0000.00717.25
8.0.170.0000.00717.18
8.0.160.0000.00717.15
8.0.150.0000.00717.14
8.0.140.0000.00717.23
8.0.130.0000.00613.68
8.0.120.0030.00617.28
8.0.110.0070.00017.26
8.0.100.0040.00417.34
8.0.90.0000.00717.32
8.0.80.0030.01217.34
8.0.70.0070.00017.20
8.0.60.0000.00717.32
8.0.50.0000.00817.14
8.0.30.0120.00717.29
8.0.20.0130.00817.40
8.0.10.0070.00017.31
8.0.00.0100.01117.08
7.4.330.0030.00315.32
7.4.320.0030.00316.90
7.4.300.0060.00016.79
7.4.290.0000.00716.95
7.4.280.0000.00716.84
7.4.270.0030.00316.75
7.4.260.0000.00716.98
7.4.250.0000.00716.83
7.4.240.0030.00416.88
7.4.230.0030.00316.98
7.4.220.0060.01216.79
7.4.210.0060.01116.96
7.4.200.0030.00517.02
7.4.190.0030.00316.77
7.4.160.0150.00616.65
7.4.150.0130.01317.40
7.4.140.0060.01117.86
7.4.130.0120.00816.88
7.4.120.0080.01116.82
7.4.110.0120.00617.00
7.4.100.0150.00316.70
7.4.90.0070.01016.79
7.4.80.0060.01219.39
7.4.70.0040.00616.95
7.4.60.0130.00316.83
7.4.50.0060.00316.79
7.4.40.0030.01222.77
7.4.30.0100.00616.64
7.4.00.0150.00015.38
7.3.330.0030.00213.43
7.3.320.0000.00513.50
7.3.310.0070.00016.38
7.3.300.0000.00716.48
7.3.290.0070.00716.55
7.3.280.0120.00516.64
7.3.270.0070.01717.40
7.3.260.0120.00916.92
7.3.250.0060.01116.75
7.3.240.0130.00316.73
7.3.230.0100.01016.61
7.3.210.0150.00316.69
7.3.200.0160.00319.39
7.3.190.0090.01116.61
7.3.180.0030.01316.89
7.3.170.0110.00616.57
7.3.160.0030.01316.68
7.3.120.0090.00615.05
7.2.330.0140.00316.80
7.2.320.0150.00317.05
7.2.310.0030.01416.85
7.2.300.0070.01016.59
7.2.290.0060.01016.70
7.2.00.0110.00419.69
7.1.200.0000.01115.88
7.1.100.0040.01118.46
7.1.70.0050.00217.05
7.1.60.0030.00817.04
7.1.50.0060.00616.79
7.1.00.0070.07322.64
7.0.200.0000.00917.03
7.0.140.0070.06722.26
7.0.60.0030.06320.19
7.0.50.0000.04317.96
7.0.40.0030.04720.18
7.0.30.0330.04720.40
7.0.20.0370.07320.25
7.0.10.0170.04020.39
7.0.00.0070.04320.32
5.6.280.0000.07321.14
5.6.210.0030.04320.89
5.6.200.0100.07718.36
5.6.190.0100.04020.55
5.6.180.3100.05320.49
5.6.170.0170.05720.85
5.6.160.0100.05020.51
5.6.150.0000.04318.30
5.6.140.0070.08018.21
5.6.130.0170.04018.25
5.6.120.0170.08321.21
5.6.110.0100.07321.13
5.6.100.0100.03321.21
5.6.90.0070.08721.12
5.6.80.0030.08320.63
5.6.70.0370.07020.57
5.5.350.0030.08720.51
5.5.340.0030.04018.15
5.5.330.0130.07320.27
5.5.320.0300.06720.36
5.5.310.0270.05320.64
5.5.300.0030.04018.11
5.5.290.0070.08018.11
5.5.280.0170.07320.98
5.5.270.0030.07721.05
5.5.260.0070.06020.89
5.5.250.0030.05320.78
5.5.240.0100.08320.43
5.4.450.0770.04719.31
5.4.440.0670.05019.40
5.4.430.0130.05019.50
5.4.420.0100.05319.66
5.4.410.0170.04719.50
5.4.400.0830.00018.87
5.4.390.0970.00018.82
5.4.380.0270.05018.89
5.4.370.1000.05018.82
5.4.360.1100.04318.82
5.4.350.1070.04718.89
5.4.340.1000.05018.89
5.4.320.0080.03912.71
5.4.310.0050.04012.70
5.4.300.0080.03412.70
5.4.290.0100.04412.70
5.4.280.0060.03412.60
5.4.270.0060.04412.60
5.4.260.0070.05018.97
5.4.250.0070.06018.93
5.4.240.0030.05319.09
5.4.230.0100.05018.91
5.4.220.0130.06718.99
5.4.210.0070.05018.97
5.4.200.0130.04318.93
5.4.190.0070.05019.07
5.4.180.0100.05018.78
5.4.170.0030.05718.79
5.4.160.0000.05719.06
5.4.150.0070.05319.06
5.4.140.0070.05016.43
5.4.130.0070.04716.69
5.4.120.0070.04716.53
5.4.110.0170.04016.51
5.4.100.0030.05016.69
5.4.90.0130.04316.52
5.4.80.0070.04716.57
5.4.70.0100.04316.60
5.4.60.0070.05016.63
5.4.50.0130.04316.51
5.4.40.0100.04716.41
5.4.30.0130.04016.45
5.4.20.0100.04716.56
5.4.10.0030.07016.66
5.4.00.0100.05015.86
5.3.290.0090.03612.96
5.3.280.0100.04714.60
5.3.270.0030.05314.63
5.3.260.0070.05314.70
5.3.250.0070.06314.59
5.3.240.0100.05714.77
5.3.230.0000.05714.83
5.3.220.0100.04714.63
5.3.210.0070.05014.57
5.3.200.0100.05014.80
5.3.190.0100.04714.72
5.3.180.0100.04314.75
5.3.170.0170.04014.62
5.3.160.0170.04014.54
5.3.150.0100.07714.62
5.3.140.0030.05314.74
5.3.130.0030.06314.52
5.3.120.0100.06714.62
5.3.110.0130.04714.53
5.3.100.0170.06014.10
5.3.90.0000.05314.09
5.3.80.0030.05314.11
5.3.70.0070.05014.26
5.3.60.0030.05014.18
5.3.50.0130.04013.86
5.3.40.0100.05014.00
5.3.30.0170.04714.20
5.3.20.0000.05313.86
5.3.10.0130.05713.79
5.3.00.0230.03313.69
5.2.170.0070.05311.31
5.2.160.0030.04311.25
5.2.150.0000.04711.17
5.2.140.0030.04311.38
5.2.130.0070.03711.25
5.2.120.0070.03711.05
5.2.110.0000.04711.30
5.2.100.0030.04011.25
5.2.90.0000.04311.25
5.2.80.0030.04011.17
5.2.70.0070.04011.17
5.2.60.0030.04311.13
5.2.50.0100.03711.26
5.2.40.0100.04711.15
5.2.30.0100.05711.01
5.2.20.0000.04311.03
5.2.10.0130.03011.08
5.2.00.0070.03711.01
5.1.60.0070.03010.09
5.1.50.0130.02310.09
5.1.40.0000.0379.95
5.1.30.0000.04010.45
5.1.20.0100.03310.39
5.1.10.0030.03310.19
5.1.00.0100.04710.39
5.0.50.0100.0208.52
5.0.40.0030.0378.64
5.0.30.0030.0408.28
5.0.20.0070.0238.31
5.0.10.0030.0278.29
5.0.00.0000.0438.27
4.4.90.0030.0205.87
4.4.80.0070.0175.79
4.4.70.0030.0205.79
4.4.60.0000.0235.78
4.4.50.0000.0335.81
4.4.40.0100.0275.79
4.4.30.0030.0235.79
4.4.20.0070.0175.84
4.4.10.0100.0135.86
4.4.00.0030.0335.80
4.3.110.0000.0335.70
4.3.100.0030.0205.73
4.3.90.0030.0205.65
4.3.80.0030.0305.73
4.3.70.0000.0205.68
4.3.60.0100.0135.69
4.3.50.0070.0175.68
4.3.40.0030.0305.61
4.3.30.0030.0205.25
4.3.20.0000.0235.25
4.3.10.0070.0235.59
4.3.00.0030.0239.23

preferences:
46.31 ms | 401 KiB | 5 Q