3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { public function foo() { } } class Bar extends Foo { protected function foo() { } }

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.0110.00318.63
8.3.30.0040.01118.46
8.3.20.0040.00418.90
8.3.10.0070.00021.73
8.3.00.0070.00319.85
8.2.170.0090.00622.96
8.2.160.0070.00720.39
8.2.150.0030.00525.66
8.2.140.0040.00424.66
8.2.130.0050.00220.47
8.2.120.0000.00726.35
8.2.110.0030.00620.56
8.2.100.0090.00317.60
8.2.90.0040.00419.10
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0050.00317.68
8.2.50.0060.00318.10
8.2.40.0030.00520.42
8.2.30.0050.00218.99
8.2.20.0040.00417.80
8.2.10.0040.00418.04
8.2.00.0000.00817.88
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00922.64
8.1.230.0070.00419.07
8.1.220.0000.00917.74
8.1.210.0030.00618.77
8.1.200.0100.00017.10
8.1.190.0080.00017.10
8.1.180.0080.00018.10
8.1.170.0080.00018.34
8.1.160.0050.00218.98
8.1.150.0020.00518.71
8.1.140.0100.00019.29
8.1.130.0000.00718.75
8.1.120.0040.00417.35
8.1.110.0000.00817.34
8.1.100.0000.00817.30
8.1.90.0060.00317.38
8.1.80.0070.00017.33
8.1.70.0030.00317.33
8.1.60.0080.00017.48
8.1.50.0040.00417.35
8.1.40.0000.00817.32
8.1.30.0060.00317.47
8.1.20.0050.00317.39
8.1.10.0060.00317.33
8.1.00.0050.00217.31
8.0.300.0070.00018.77
8.0.290.0050.00216.63
8.0.280.0080.00018.37
8.0.270.0080.00017.06
8.0.260.0000.00616.68
8.0.250.0050.00216.90
8.0.240.0050.00216.91
8.0.230.0000.00716.79
8.0.220.0030.00316.70
8.0.210.0000.00716.71
8.0.200.0030.00316.88
8.0.190.0080.00016.75
8.0.180.0070.00016.73
8.0.170.0070.00016.82
8.0.160.0040.00416.80
8.0.150.0070.00016.67
8.0.140.0080.00016.77
8.0.130.0000.00513.21
8.0.120.0000.00916.80
8.0.110.0070.00016.77
8.0.100.0040.00416.82
8.0.90.0020.00516.86
8.0.80.0090.01016.77
8.0.70.0030.00316.71
8.0.60.0040.00416.65
8.0.50.0050.00216.82
8.0.30.0120.00816.83
8.0.20.0090.01017.40
8.0.10.0030.00516.98
8.0.00.0060.01216.70
7.4.330.0000.00515.55
7.4.320.0000.00616.22
7.4.300.0030.00316.35
7.4.290.0030.00616.36
7.4.280.0050.00316.45
7.4.270.0030.00316.41
7.4.260.0030.00313.08
7.4.250.0000.00716.32
7.4.240.0040.00416.29
7.4.230.0000.00816.46
7.4.220.0040.01316.35
7.4.210.0000.01416.48
7.4.200.0000.00616.35
7.4.160.0110.00616.29
7.4.150.0140.00717.40
7.4.140.0110.01217.86
7.4.130.0090.01616.39
7.4.120.0120.00816.40
7.4.110.0030.01416.46
7.4.100.0100.00716.21
7.4.90.0100.00616.35
7.4.80.0100.00719.39
7.4.70.0090.00616.21
7.4.60.0080.00816.30
7.4.50.0060.00616.23
7.4.40.0070.01016.49
7.4.30.0060.01016.29
7.3.330.0000.00813.06
7.3.320.0020.00213.25
7.3.310.0030.00316.21
7.3.300.0000.00716.24
7.3.290.0050.01016.18
7.3.280.0070.00816.18
7.3.270.0100.00717.40
7.3.260.0110.01116.43
7.3.250.0100.00816.17
7.3.240.0100.00616.28
7.3.230.0090.00916.34
7.3.210.0100.00716.35
7.3.200.0030.01216.11
7.3.190.0060.01116.22
7.3.180.0100.00616.18
7.3.170.0100.01316.17
7.3.160.0090.00616.36
7.2.330.0090.01216.43
7.2.320.0120.00616.21
7.2.310.0040.01216.43
7.2.300.0100.01316.59
7.2.290.0080.00816.22
7.1.60.3500.01732.88
7.1.50.3330.02332.95
7.1.40.3300.00732.47
7.1.30.4170.01732.50
7.1.20.2770.01732.81
7.1.10.2000.00714.43
7.1.00.2400.01314.75
7.0.200.2970.01314.86
7.0.190.4070.01314.75
7.0.180.3000.02314.21
7.0.170.4230.01014.15
7.0.160.2730.01014.32
7.0.150.1870.00714.24
7.0.140.2470.00714.22
7.0.130.2230.01314.53
7.0.120.2430.01714.47
7.0.110.2000.01014.22
7.0.100.2030.01014.29
7.0.90.2030.00714.23
7.0.80.1930.02014.27
7.0.70.1930.01714.43
7.0.60.1970.01313.96
7.0.50.1930.02314.30
7.0.40.1670.01314.34
7.0.30.1570.01014.42
7.0.20.2100.01014.55
7.0.10.1930.02014.49
7.0.00.1970.00714.40

preferences:
41.09 ms | 400 KiB | 5 Q