3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class foo { abstract public function foo(); } class bar extends foo { public function foo() { echo 'derp'; } } $d = new bar; $d->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.00418.71
8.3.30.0080.00618.89
8.3.20.0040.00419.96
8.3.10.0080.00023.48
8.3.00.0060.00319.13
8.2.170.0110.00422.96
8.2.160.0070.00720.43
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.13
8.2.110.0030.00622.16
8.2.100.0080.00417.72
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.00818.22
8.2.30.0070.00317.86
8.2.20.0000.00717.49
8.2.10.0060.00317.86
8.2.00.0000.00817.59
8.1.270.0060.00321.94
8.1.260.0060.00326.35
8.1.250.0030.00528.09
8.1.240.0040.00423.90
8.1.230.0100.00019.10
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0000.00917.22
8.1.190.0060.00317.41
8.1.180.0040.00418.10
8.1.170.0030.00518.59
8.1.160.0040.00421.95
8.1.150.0040.00418.44
8.1.140.0000.00717.43
8.1.130.0060.00017.85
8.1.120.0000.00717.29
8.1.110.0000.00817.34
8.1.100.0000.00717.44
8.1.90.0050.00217.47
8.1.80.0000.00817.41
8.1.70.0030.00317.25
8.1.60.0030.00517.61
8.1.50.0030.00517.44
8.1.40.0000.00717.38
8.1.30.0040.00417.61
8.1.20.0060.00317.64
8.1.10.0000.00817.41
8.1.00.0040.00417.38
8.0.300.0030.00318.77
8.0.290.0000.00717.18
8.0.280.0030.00318.37
8.0.270.0070.00017.26
8.0.260.0030.00316.81
8.0.250.0030.00316.82
8.0.240.0000.00716.77
8.0.230.0040.00416.90
8.0.220.0000.00716.81
8.0.210.0060.00316.73
8.0.200.0030.00316.95
8.0.190.0050.00316.88
8.0.180.0040.00416.80
8.0.170.0000.00716.83
8.0.160.0000.00816.80
8.0.150.0000.00716.83
8.0.140.0000.00716.66
8.0.130.0000.00513.34
8.0.120.0060.00316.61
8.0.110.0070.00016.79
8.0.100.0040.00416.86
8.0.90.0050.00216.76
8.0.80.0100.01016.86
8.0.70.0080.00016.84
8.0.60.0070.00016.62
8.0.50.0000.00816.85
8.0.30.0070.01216.84
8.0.20.0110.01117.40
8.0.10.0040.00416.93
8.0.00.0090.00916.83
7.4.330.0000.00515.00
7.4.320.0040.00416.47
7.4.300.0040.00416.51
7.4.290.0030.00316.54
7.4.280.0030.00616.33
7.4.270.0030.00316.55
7.4.260.0000.00716.28
7.4.250.0060.00316.29
7.4.240.0020.00616.48
7.4.230.0030.00316.64
7.4.220.0090.00916.57
7.4.210.0100.00816.51
7.4.200.0050.00316.27
7.4.190.0040.00416.33
7.4.160.0140.00416.34
7.4.150.0070.01017.40
7.4.140.0110.01117.86
7.4.130.0080.01316.40
7.4.120.0130.00516.39
7.4.110.0140.00316.52
7.4.100.0130.00716.37
7.4.90.0040.01216.52
7.4.80.0220.00019.39
7.4.70.0070.01316.50
7.4.60.0120.00416.57
7.4.50.0040.00416.29
7.4.40.0070.01022.77
7.4.30.0120.00416.45
7.4.00.0130.00514.77
7.3.330.0000.00513.37
7.3.320.0060.00013.42
7.3.310.0040.00416.39
7.3.300.0000.00716.25
7.3.290.0080.01216.35
7.3.280.0090.01016.35
7.3.270.0060.01217.40
7.3.260.0040.01216.28
7.3.250.0090.01016.38
7.3.240.0090.00916.62
7.3.230.0080.00816.39
7.3.210.0090.00916.46
7.3.200.0110.00819.39
7.3.190.0070.01016.58
7.3.180.0080.00816.30
7.3.170.0090.00616.36
7.3.160.0080.00816.25
7.3.120.0080.00814.83
7.3.110.0030.01415.06
7.3.100.0100.00614.66
7.3.90.0000.01914.86
7.3.80.0060.00614.98
7.3.70.0070.00714.84
7.3.60.0060.00614.54
7.3.50.0060.00614.43
7.3.40.0120.00314.73
7.3.30.0000.00914.77
7.3.20.0110.00416.69
7.3.10.0030.00916.58
7.3.00.0030.01016.53
7.2.330.0100.01016.31
7.2.320.0140.00316.61
7.2.310.0100.00616.42
7.2.300.0140.00316.37
7.2.290.0030.01316.48
7.2.250.0000.01814.64
7.2.240.0100.01014.52
7.2.230.0000.01614.92
7.2.220.0120.00315.04
7.2.210.0070.00714.94
7.2.200.0030.00914.58
7.2.190.0070.00414.57
7.2.180.0030.00714.88
7.2.170.0070.01014.66
7.2.60.0070.00716.77
7.2.00.0030.00919.25
7.1.330.0000.01515.53
7.1.320.0070.00715.45
7.1.310.0000.01115.69
7.1.300.0030.00615.50
7.1.290.0060.00915.58
7.1.280.0040.00415.67
7.1.270.0000.01215.41
7.1.260.0090.00315.73
7.1.200.0070.00315.69
7.1.100.0280.00917.57
7.1.70.0040.01217.11
7.1.60.0090.01519.33
7.1.50.0140.01116.97
7.1.00.0000.08022.50
7.0.200.0110.01116.39
7.0.140.0000.07722.11
7.0.100.0030.06019.85
7.0.90.0000.07020.03
7.0.80.0100.08019.84
7.0.70.0130.07719.93
7.0.60.0100.07019.88
7.0.50.0130.05320.29
7.0.40.0130.07020.10
7.0.30.0030.08720.13
7.0.20.0100.04320.12
7.0.10.0070.09020.13
7.0.00.0070.09020.03
5.6.280.0030.07021.11
5.6.250.0100.08020.72
5.6.240.0100.08320.51
5.6.230.0170.07320.58
5.6.220.0070.08320.50
5.6.210.0000.06020.61
5.6.200.0100.08321.00
5.6.190.0030.07321.17
5.6.180.0130.04321.04
5.6.170.0100.08721.11
5.6.160.0100.07021.04
5.6.150.0170.07721.05
5.6.140.0100.08321.08
5.6.130.0030.08321.03
5.6.120.0230.07321.11
5.6.110.0100.05721.10
5.6.100.0070.07321.00
5.6.90.0100.08021.08
5.6.80.0130.06320.34
5.6.70.0000.05020.43
5.6.60.0200.07320.40
5.6.50.0100.07720.46
5.6.40.0030.04720.39
5.6.30.0130.05320.45
5.6.20.0100.07720.41
5.6.10.0070.08020.36
5.6.00.0130.04020.37
5.5.380.0070.08320.39
5.5.370.0030.08020.57
5.5.360.0070.05720.43
5.5.350.0070.04720.41
5.5.340.0070.06020.89
5.5.330.0030.05020.92
5.5.320.0100.06320.84
5.5.310.0100.05320.86
5.5.300.0170.08320.73
5.5.290.0130.07320.93
5.5.280.0070.08720.82
5.5.270.0070.04320.86
5.5.260.0130.07020.82
5.5.250.0200.07020.70
5.5.240.0100.07320.32
5.5.230.0070.08020.29
5.5.220.0130.06720.00
5.5.210.0070.04320.15
5.5.200.0030.07319.99
5.5.190.0100.05320.18
5.5.180.0100.07320.09
5.5.160.0100.07320.10
5.5.150.0130.03320.14
5.5.140.0070.07720.25
5.5.130.0030.08020.25
5.5.120.0070.05720.20
5.5.110.0100.08020.12
5.5.100.0070.07320.15
5.5.90.0030.04720.07
5.5.80.0070.07320.10
5.5.70.0030.06320.13
5.5.60.0130.05320.00
5.5.50.0030.08320.14
5.5.40.0070.07719.94
5.5.30.0070.04320.05
5.5.20.0130.07320.05
5.5.10.0130.06320.05
5.5.00.0130.07720.03
5.4.450.0130.07719.45
5.4.440.0070.07019.37
5.4.430.0130.07319.46
5.4.420.0130.06019.53
5.4.410.0100.07019.36
5.4.400.0030.05019.25
5.4.390.0070.07019.04
5.4.380.0100.07019.23
5.4.370.0030.05319.04
5.4.360.0200.05319.04
5.4.350.0070.07319.21
5.4.340.0070.07019.04
5.4.320.0200.06718.95
5.4.310.0130.04318.91
5.4.300.0070.06719.12
5.4.290.0030.08319.02
5.4.280.0130.07019.16
5.4.270.0070.06719.16
5.4.260.0230.06319.13
5.4.250.0070.07319.04
5.4.240.0130.04019.13
5.4.230.0100.03318.86
5.4.220.0100.07719.04
5.4.210.0130.06318.87
5.4.200.0000.06018.90
5.4.190.0130.06719.03
5.4.180.0070.07018.87
5.4.170.0170.06319.19
5.4.160.0030.03718.84
5.4.150.0000.06019.10
5.4.140.0030.03316.49
5.4.130.0100.07016.50
5.4.120.0030.03716.46
5.4.110.0070.07016.54
5.4.100.0030.07716.52
5.4.90.0000.04716.39
5.4.80.0100.06316.36
5.4.70.0070.07016.50
5.4.60.0170.06316.47
5.4.50.0030.08016.43
5.4.40.0100.06316.46
5.4.30.0030.07716.29
5.4.20.0130.05316.42
5.4.10.0030.06016.39
5.4.00.0200.06015.88
5.3.290.0100.05014.68
5.3.280.0000.07714.71
5.3.270.0030.07714.73
5.3.260.0070.03014.54
5.3.250.0030.07714.60
5.3.240.0070.07714.54
5.3.230.0130.07014.71
5.3.220.0100.04014.54
5.3.210.0030.07714.54
5.3.200.0030.07714.55
5.3.190.0170.06014.55
5.3.180.0070.08314.58
5.3.170.0100.07314.54
5.3.160.0070.06314.68
5.3.150.0100.06014.67
5.3.140.0070.07714.59
5.3.130.0100.05014.53
5.3.120.0030.04314.52
5.3.110.0070.08014.60
5.3.100.0030.04714.16
5.3.90.0030.06013.98
5.3.80.0070.07714.08
5.3.70.0070.07314.11
5.3.60.0130.06714.11
5.3.50.0070.07013.88
5.3.40.0070.07714.08
5.3.30.0170.04713.97
5.3.20.0030.06713.61
5.3.10.0070.07013.59
5.3.00.0070.06713.76
5.2.170.0030.06711.27
5.2.160.0000.03711.22
5.2.150.0030.05011.18
5.2.140.0030.06311.21
5.2.130.0030.03311.22
5.2.120.0030.03310.96
5.2.110.0070.02711.23
5.2.100.0100.05311.13
5.2.90.0000.04710.99
5.2.80.0030.03311.15
5.2.70.0030.06711.21
5.2.60.0070.06311.19
5.2.50.0000.06310.91
5.2.40.0030.04011.06
5.2.30.0070.06011.03
5.2.20.0070.03010.82
5.2.10.0030.02710.82
5.2.00.0070.04710.58
5.1.60.0070.02710.03
5.1.50.0070.02710.05
5.1.40.0000.0609.96
5.1.30.0170.04010.33
5.1.20.0030.05310.41
5.1.10.0000.05710.18
5.1.00.0030.04310.17
5.0.50.0030.0438.83
5.0.40.0070.0438.83
5.0.30.0000.0678.83
5.0.20.0130.0338.83
5.0.10.0000.0378.83
5.0.00.0030.0538.83
4.4.90.0000.0378.83
4.4.80.0000.0408.83
4.4.70.0030.0138.83
4.4.60.0000.0308.83
4.4.50.0070.0138.83
4.4.40.0030.0508.83
4.4.30.0030.0378.83
4.4.20.0030.0308.83
4.4.10.0000.0338.83
4.4.00.0000.0578.83
4.3.110.0030.0238.83
4.3.100.0000.0378.83
4.3.90.0000.0308.83
4.3.80.0000.0538.83
4.3.70.0030.0278.83
4.3.60.0030.0338.83
4.3.50.0000.0238.83
4.3.40.0000.0538.83
4.3.30.0030.0338.83
4.3.20.0070.0308.83
4.3.10.0000.0278.83
4.3.00.0030.0308.83

preferences:
41.14 ms | 400 KiB | 5 Q