3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function test(); } abstract class B implements A { } class C extends B { }

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.0100.01018.68
8.3.50.0130.00821.19
8.3.40.0140.00718.76
8.3.30.0000.01518.54
8.3.20.0040.00420.04
8.3.10.0080.00021.72
8.3.00.0050.00320.26
8.2.180.0030.01216.75
8.2.170.0070.00722.96
8.2.160.0200.00020.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00017.50
8.2.110.0060.00320.88
8.2.100.0080.00417.59
8.2.90.0050.00319.82
8.2.80.0040.00418.20
8.2.70.0060.00317.68
8.2.60.0000.00917.80
8.2.50.0040.00818.10
8.2.40.0040.00420.34
8.2.30.0000.00822.29
8.2.20.0040.00417.76
8.2.10.0060.00317.98
8.2.00.0020.00517.85
8.1.280.0120.00425.92
8.1.270.0110.00423.67
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.46
8.1.230.0070.00421.03
8.1.220.0040.00417.74
8.1.210.0060.00318.78
8.1.200.0060.00317.23
8.1.190.0030.00617.22
8.1.180.0000.00818.10
8.1.170.0090.00018.57
8.1.160.0030.00322.10
8.1.150.0030.00618.77
8.1.140.0030.00717.29
8.1.130.0000.00717.58
8.1.120.0000.00717.40
8.1.110.0000.00817.30
8.1.100.0070.00017.34
8.1.90.0040.00417.38
8.1.80.0000.00717.41
8.1.70.0070.00017.35
8.1.60.0040.00417.40
8.1.50.0000.00917.48
8.1.40.0000.00817.35
8.1.30.0040.00417.46
8.1.20.0040.00417.60
8.1.10.0000.00817.36
8.1.00.0000.00717.28
8.0.300.0000.00819.90
8.0.290.0040.00416.75
8.0.280.0030.00318.28
8.0.270.0000.00717.18
8.0.260.0000.00717.12
8.0.250.0060.00216.93
8.0.240.0030.00316.86
8.0.230.0000.00716.89
8.0.220.0030.00316.77
8.0.210.0000.00716.88
8.0.200.0040.00416.93
8.0.190.0030.00316.83
8.0.180.0030.00316.91
8.0.170.0050.00316.89
8.0.160.0070.00016.93
8.0.150.0070.00016.65
8.0.140.0050.00216.74
8.0.130.0030.00313.37
8.0.120.0030.00516.86
8.0.110.0040.00416.87
8.0.100.0040.00416.67
8.0.90.0000.00716.84
8.0.80.0100.00616.93
8.0.70.0040.00416.93
8.0.60.0040.00416.84
8.0.50.0070.00016.93
8.0.30.0100.00917.10
8.0.20.0090.00917.40
8.0.10.0050.00316.78
8.0.00.0090.00816.74
7.4.330.0050.00015.08
7.4.320.0000.00716.44
7.4.300.0060.00016.44
7.4.290.0000.00716.50
7.4.280.0000.00816.52
7.4.270.0000.00616.57
7.4.260.0030.00316.50
7.4.250.0000.00716.41
7.4.240.0040.00416.51
7.4.230.0030.00316.19
7.4.220.0070.01516.48
7.4.210.0030.01016.53
7.4.200.0040.00416.59
7.4.160.0160.00616.47
7.4.150.0090.00917.40
7.4.140.0110.01117.86
7.4.130.0090.00816.54
7.4.120.0110.00816.37
7.4.110.0120.00616.62
7.4.100.0120.01116.28
7.4.90.0070.01416.46
7.4.80.0140.00319.39
7.4.70.0090.01216.27
7.4.60.0110.01116.58
7.4.50.0030.00616.03
7.4.40.0060.01216.46
7.4.30.0110.00716.41
7.4.00.0080.00814.83
7.3.330.0000.00513.13
7.3.320.0000.00513.14
7.3.310.0030.00316.11
7.3.300.0030.00516.29
7.3.290.0090.00616.27
7.3.280.0070.01116.35
7.3.270.0120.00617.40
7.3.260.0110.00616.31
7.3.250.0090.00916.26
7.3.240.0000.01816.41
7.3.230.0140.00716.39
7.3.210.0100.00716.30
7.3.200.0130.00716.51
7.3.190.0130.00816.45
7.3.180.0060.01016.39
7.3.170.0030.01416.43
7.3.160.0030.01316.51
7.3.120.0070.00714.51
7.3.110.0040.01214.83
7.3.100.0040.01114.57
7.3.90.0060.01014.77
7.3.80.0030.01314.57
7.3.70.0060.00314.60
7.3.60.0100.00314.78
7.3.50.0040.01114.82
7.3.40.0060.00914.74
7.3.30.0110.00414.52
7.3.20.0160.00316.40
7.3.10.0060.01016.36
7.3.00.0110.00416.73
7.2.330.0060.01016.30
7.2.320.0090.00916.27
7.2.310.0040.01216.43
7.2.300.0070.01416.23
7.2.290.0030.01316.65
7.2.250.0030.01014.61
7.2.240.0090.00615.14
7.2.230.0040.00815.00
7.2.220.0100.00614.63
7.2.210.0090.00914.82
7.2.200.0040.01114.77
7.2.190.0070.00314.61
7.2.180.0040.01514.87
7.2.170.0110.00414.65
7.2.60.0110.00316.52
7.2.00.0090.00619.10
7.1.330.0130.00015.78
7.1.320.0070.01015.75
7.1.310.0090.00615.63
7.1.300.0090.00615.53
7.1.290.0000.01515.83
7.1.280.0060.00615.87
7.1.270.0100.00315.48
7.1.260.0110.00715.41
7.1.200.0060.00915.69
7.1.100.0000.01018.02
7.1.70.0040.00417.06
7.1.60.0090.01219.29
7.1.50.0070.01016.95
7.1.00.0130.06722.40
7.0.200.0030.00616.48
7.0.70.2830.03319.92
7.0.60.0030.08019.98
7.0.50.0070.06317.84
7.0.40.0070.09020.39
7.0.30.0270.05020.21
7.0.20.0430.06020.22
7.0.10.0170.04320.12
7.0.00.0070.06320.29
5.6.280.0000.07720.99
5.6.210.0070.05320.60
5.6.200.0070.04718.24
5.6.190.0070.05020.47
5.6.180.0130.04020.61
5.6.170.0270.04320.50
5.6.160.0070.08320.45
5.6.150.0000.08318.25
5.6.140.0070.08318.20
5.6.130.0030.07718.18
5.6.120.0100.08721.02
5.6.110.0030.05321.14
5.6.100.0170.07720.96
5.6.90.0100.07720.98
5.6.80.0130.07320.41
5.6.70.0230.07020.53
5.5.350.0070.05020.30
5.5.340.0070.05717.99
5.5.330.0100.08320.29
5.5.320.0000.04020.57
5.5.310.0330.07020.35
5.5.300.0200.06718.06
5.5.290.0130.06717.91
5.5.280.0030.06020.86
5.5.270.0100.03720.78
5.5.260.0100.03720.85
5.5.250.0030.04020.59
5.5.240.0030.08320.16
5.4.450.0870.06319.60
5.4.440.0830.05719.55
5.4.430.0770.06019.60
5.4.420.0730.05319.57
5.4.410.0670.06019.45
5.4.400.0770.05319.05
5.4.390.0730.05319.30
5.4.380.0800.06019.05
5.4.370.0800.04719.05
5.4.360.0770.05719.13
5.4.350.0730.05019.05
5.4.340.0800.05719.28
5.4.320.0800.05718.83
5.4.310.0800.04719.14
5.4.300.0700.05719.14
5.4.290.0870.06019.24
5.4.280.0730.05719.23
5.4.270.0700.05719.25
5.4.260.0700.05718.83
5.4.250.0830.04319.14
5.4.240.0700.06019.24
5.4.230.0700.05719.24
5.4.220.0670.06019.25
5.4.210.0730.05018.98
5.4.200.1000.05319.29
5.4.190.0730.05319.10
5.4.180.0800.05019.25
5.4.170.0800.05019.26
5.4.160.0670.05719.00
5.4.150.0730.05319.17
5.4.140.0730.05016.50
5.4.130.0800.07016.44
5.4.120.0830.05716.46
5.4.110.0800.06016.58
5.4.100.1000.05316.67
5.4.90.0800.05316.56
5.4.80.0770.05016.65
5.4.70.0070.03716.23
5.4.60.0030.07716.43
5.4.50.0030.05716.53
5.4.40.0170.07316.39
5.4.30.0000.04016.34
5.4.20.0300.02316.42
5.4.10.0230.07716.51

preferences:
51.23 ms | 401 KiB | 5 Q