3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! abstract class Foo { abstract public static function bar(); } class Baz extends Foo { public static function bar() { return 1; } } var_dump(Foo::bar());

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.0120.00318.43
8.3.50.0090.00921.83
8.3.40.0090.00618.79
8.3.30.0150.00019.09
8.3.20.0070.00020.14
8.3.10.0080.00022.11
8.3.00.0050.00322.34
8.2.180.0040.01116.38
8.2.170.0070.01422.96
8.2.160.0140.00319.13
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00019.24
8.2.110.0000.00922.27
8.2.100.0130.00317.91
8.2.90.0050.00319.22
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0050.00317.91
8.2.50.0030.00518.07
8.2.40.0080.00017.85
8.2.30.0000.00718.04
8.2.20.0040.00417.62
8.2.10.0000.00717.66
8.2.00.0090.00017.63
8.1.280.0150.00325.92
8.1.270.0040.00422.09
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00324.02
8.1.230.0070.00419.20
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0040.00417.38
8.1.180.0000.00818.57
8.1.170.0110.00018.59
8.1.160.0000.00822.17
8.1.150.0040.00418.46
8.1.140.0050.00517.30
8.1.130.0000.00717.71
8.1.120.0030.00317.24
8.1.110.0040.00417.17
8.1.100.0000.00717.36
8.1.90.0030.00317.29
8.1.80.0040.00417.34
8.1.70.0000.00817.27
8.1.60.0030.00617.47
8.1.50.0030.00517.34
8.1.40.0030.00517.44
8.1.30.0050.00217.42
8.1.20.0040.00417.57
8.1.10.0000.00717.39
8.1.00.0040.00417.29
8.0.300.0080.00018.77
8.0.290.0050.00317.04
8.0.280.0070.00018.36
8.0.270.0040.00417.18
8.0.260.0030.00316.80
8.0.250.0030.00316.83
8.0.240.0040.00416.93
8.0.230.0070.00016.77
8.0.220.0030.00316.80
8.0.210.0040.00416.87
8.0.200.0000.00716.96
8.0.190.0080.00016.96
8.0.180.0000.00816.95
8.0.170.0040.00416.82
8.0.160.0040.00416.91
8.0.150.0080.00016.75
8.0.140.0030.00516.76
8.0.130.0030.00313.39
8.0.120.0000.00816.75
8.0.110.0000.00716.79
8.0.100.0040.00416.78
8.0.90.0000.00817.00
8.0.80.0110.00416.87
8.0.70.0000.00716.77
8.0.60.0050.00216.75
8.0.50.0000.00716.90
8.0.30.0120.00816.96
8.0.20.0000.01917.40
8.0.10.0040.00416.95
8.0.00.0120.00516.75
7.4.330.0000.00415.00
7.4.320.0060.00016.38
7.4.300.0000.00716.34
7.4.290.0070.00016.56
7.4.280.0000.00716.44
7.4.270.0000.00716.45
7.4.260.0030.00516.54
7.4.250.0000.00716.45
7.4.240.0020.00516.42
7.4.230.0030.00316.32
7.4.220.0070.01016.38
7.4.210.0080.00516.49
7.4.200.0040.00416.47
7.4.190.0070.00016.60
7.4.160.0000.01516.50
7.4.150.0080.00917.40
7.4.140.0090.00917.86
7.4.130.0050.01116.35
7.4.120.0070.01016.50
7.4.110.0060.01216.34
7.4.100.0060.01216.48
7.4.90.0090.00916.39
7.4.80.0070.01519.39
7.4.70.0080.00816.27
7.4.60.0070.01016.39
7.4.50.0060.00616.59
7.4.40.0100.00622.77
7.4.30.0100.00916.45
7.4.00.0060.01015.07
7.3.330.0030.00313.38
7.3.320.0000.00613.13
7.3.310.0030.00316.39
7.3.300.0060.00016.41
7.3.290.0070.00716.33
7.3.280.0080.01116.36
7.3.270.0110.00817.40
7.3.260.0130.00616.54
7.3.250.0090.01016.33
7.3.240.0100.01316.24
7.3.230.0100.01016.41
7.3.210.0140.00916.61
7.3.200.0030.01419.39
7.3.190.0030.01816.39
7.3.180.0090.00616.59
7.3.170.0060.01016.55
7.3.160.0080.00816.60
7.3.120.0070.00414.80
7.3.10.0060.00816.62
7.3.00.0110.00016.38
7.2.330.0110.00616.23
7.2.320.0170.00016.30
7.2.310.0050.01116.61
7.2.300.0100.00616.48
7.2.290.0040.01216.25
7.2.130.0130.00016.58
7.2.120.0120.00616.52
7.2.110.0030.01216.84
7.2.100.0030.00616.70
7.2.90.0000.01316.61
7.2.80.0060.00916.83
7.2.70.0090.00616.73
7.2.60.0060.00916.74
7.2.50.0120.00016.83
7.2.40.0090.00616.84
7.2.30.0070.01016.84
7.2.20.0100.00716.54
7.2.10.0060.00916.61
7.2.00.0040.01117.97
7.1.250.0100.00315.28
7.1.200.0040.00715.69
7.1.100.0030.00917.96
7.1.70.0000.01016.87
7.1.60.0090.00619.82
7.1.50.0170.00716.97
7.1.00.0000.07722.25
7.0.200.0070.00716.39
7.0.140.0000.07321.98
7.0.60.0170.06321.71
7.0.50.0030.04017.90
7.0.40.0100.04020.23
7.0.30.0230.08020.10
7.0.20.0200.03720.19
7.0.10.0000.04720.30
7.0.00.0000.09320.09
5.6.280.0030.07321.04
5.6.210.0070.07320.67
5.6.200.0070.03718.15
5.6.190.0070.09320.39
5.6.180.0270.05320.54
5.6.170.0300.06320.62
5.6.160.0130.08020.62
5.6.150.0030.08318.24
5.6.140.0100.07718.33
5.6.130.0100.07718.14
5.6.120.0130.08321.12
5.6.110.0130.08021.02
5.6.100.0170.07320.98
5.6.90.0100.07320.99
5.6.80.0130.06020.53
5.5.350.0300.07020.53
5.5.340.0000.04317.95
5.5.330.0100.06720.39
5.5.320.0400.03720.27
5.5.310.0300.07720.23
5.5.300.0100.08017.98
5.5.290.0130.05017.94
5.5.280.0200.07020.88
5.5.270.0130.06020.97
5.5.260.0170.07320.79
5.5.250.0170.07020.58
5.5.240.0270.07320.23
5.4.450.4170.04019.55
5.4.440.3970.03319.46
5.4.430.0370.04019.51
5.4.420.1570.04719.51
5.4.410.4200.04019.12
5.4.400.3130.03019.07
5.4.390.3370.03719.16
5.4.380.0000.04319.18
5.4.370.4100.03719.01
5.4.360.4570.03719.20
5.4.350.4330.03719.25
5.4.340.4370.03018.97
5.4.320.4200.03719.04
5.4.310.3770.02718.97
5.4.300.3970.04019.11
5.4.290.4430.03019.11
5.4.280.4730.03719.15
5.4.270.4400.04019.07
5.4.260.3400.04019.07
5.4.250.4800.03018.94
5.4.240.3730.03018.93
5.4.230.3870.03319.07
5.4.220.4100.04319.01
5.4.210.4070.03719.15
5.4.200.4230.03319.23
5.4.190.3870.03719.12
5.4.180.3770.03319.10
5.4.170.4730.04019.19
5.4.160.3430.03018.97
5.4.150.4600.03719.10
5.4.140.3630.03016.44
5.4.130.3870.04016.43
5.4.120.4370.04016.41
5.4.110.4470.03716.57
5.4.100.4170.03716.50
5.4.90.4300.03716.58
5.4.80.4930.03016.52
5.4.70.4430.03716.29
5.4.60.3900.03016.45
5.4.50.3800.03316.48
5.4.40.3670.03716.35
5.4.30.4270.04316.42
5.4.20.4470.03016.48
5.4.10.4170.03316.50
5.4.00.4100.03715.93
5.3.290.3770.04014.83
5.3.280.2830.03314.61
5.3.270.4400.04314.62
5.3.260.3630.03314.53
5.3.250.3930.03314.64
5.3.240.3770.03714.61
5.3.230.2930.03314.52
5.3.220.4500.04314.50
5.3.210.4100.04014.60
5.3.200.4770.03314.71
5.3.190.4700.03714.72
5.3.180.4200.03314.45
5.3.170.4870.03314.56
5.3.160.3970.03714.59
5.3.150.3630.04014.58
5.3.140.3670.04314.72
5.3.130.3730.03314.58
5.3.120.4400.04014.57
5.3.110.4530.04014.55
5.3.100.4200.03713.96
5.3.90.3900.03714.18
5.3.80.3970.03314.07
5.3.70.4370.03314.05
5.3.60.3930.04014.00
5.3.50.3870.04013.95
5.3.40.4830.04014.02
5.3.30.4030.03713.91
5.3.20.4130.03713.73
5.3.10.3730.03313.60
5.3.00.2070.03313.66
5.2.170.3770.03311.10
5.2.160.4070.02011.11
5.2.150.3270.02311.20
5.2.140.3370.03011.06
5.2.130.3400.03311.27
5.2.120.2670.02311.14
5.2.110.0970.03311.07
5.2.100.2000.03711.07
5.2.90.2500.02711.27
5.2.80.2370.03011.13
5.2.70.2530.03311.10
5.2.60.2400.02310.94
5.2.50.2570.02711.03
5.2.40.2230.03011.00
5.2.30.2200.03011.13
5.2.20.2300.03010.92
5.2.10.1800.02710.90
5.2.00.1530.03010.79
5.1.60.1700.02310.02
5.1.50.1900.03010.05
5.1.40.2230.0239.97
5.1.30.2200.02310.48
5.1.20.2400.03010.36
5.1.10.0930.02010.09
5.1.00.0000.03010.09
5.0.50.0000.0238.57
5.0.40.0000.0278.37
5.0.30.0000.0378.19
5.0.20.0100.0108.26
5.0.10.1770.0238.33
5.0.00.1800.0338.21
4.4.90.0970.0135.89
4.4.80.1200.0175.80
4.4.70.0800.0175.88
4.4.60.0830.0075.77
4.4.50.1230.0175.77
4.4.40.0470.0235.81
4.4.30.0670.0135.86
4.4.20.1070.0175.89
4.4.10.0000.0135.92
4.4.00.0030.0275.89
4.3.110.0030.0275.77
4.3.100.0030.0175.70
4.3.90.0570.0135.76
4.3.80.1700.0275.78
4.3.70.1500.0175.67
4.3.60.1470.0175.78
4.3.50.1730.0205.71
4.3.40.1830.0275.75
4.3.30.1000.0175.41
4.3.20.1030.0205.41
4.3.10.0970.0235.41
4.3.00.1100.0135.41

preferences:
42.72 ms | 401 KiB | 5 Q