3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class test{ abstract public function hi(): string; } class hello extends test { public function hi(): string { return []; } }

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.0090.00616.35
8.3.50.0060.01216.11
8.3.40.0100.01018.55
8.3.30.0120.00618.63
8.3.20.0070.00720.21
8.3.10.0030.00921.90
8.3.00.0080.00019.44
8.2.180.0120.00918.16
8.2.170.0000.01422.96
8.2.160.0080.00820.44
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0100.00017.50
8.2.110.0040.00722.09
8.2.100.0090.00317.63
8.2.90.0000.00819.18
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0030.00617.79
8.2.50.0000.00919.11
8.2.40.0060.00319.36
8.2.30.0070.00019.73
8.2.20.0040.00417.54
8.2.10.0000.00717.98
8.2.00.0050.00217.96
8.1.280.0070.00725.92
8.1.270.0150.00420.43
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00322.30
8.1.230.0120.00017.42
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0100.00017.10
8.1.190.0000.00917.10
8.1.180.0000.00818.10
8.1.170.0040.00418.49
8.1.160.0000.00821.85
8.1.150.0000.00718.68
8.1.140.0080.00017.32
8.1.130.0000.00817.68
8.1.120.0030.00317.38
8.1.110.0040.00417.36
8.1.100.0040.00417.21
8.1.90.0040.00417.21
8.1.80.0030.00517.38
8.1.70.0000.00717.29
8.1.60.0090.00017.48
8.1.50.0040.00417.41
8.1.40.0070.00417.23
8.1.30.0040.00417.50
8.1.20.0080.00017.52
8.1.10.0000.00717.38
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.27
8.0.270.0030.00317.12
8.0.260.0000.00617.04
8.0.250.0000.00716.87
8.0.240.0000.00716.87
8.0.230.0000.00716.81
8.0.220.0030.00316.75
8.0.210.0000.00816.62
8.0.200.0030.00316.75
8.0.190.0070.00016.81
8.0.180.0040.00416.76
8.0.170.0040.00416.79
8.0.160.0000.00716.68
8.0.150.0050.00316.56
8.0.140.0030.00416.73
8.0.130.0000.00713.16
8.0.120.0030.00516.66
8.0.110.0040.00416.63
8.0.100.0040.00416.58
8.0.90.0000.00716.82
8.0.80.0030.01316.64
8.0.70.0040.00416.61
8.0.60.0000.00716.63
8.0.50.0040.00416.79
8.0.30.0060.01416.91
8.0.20.0100.01217.40
8.0.10.0000.00816.78
8.0.00.0120.00616.62
7.4.330.0050.00015.08
7.4.320.0030.00316.30
7.4.300.0060.00316.46
7.4.290.0060.00316.42
7.4.280.0030.00316.45
7.4.270.0030.00316.36
7.4.260.0000.01016.45
7.4.250.0020.00516.32
7.4.240.0000.00716.40
7.4.230.0000.00716.27
7.4.220.0030.01516.41
7.4.210.0140.00016.36
7.4.200.0030.00316.29
7.4.160.0080.00816.24
7.4.150.0070.01117.40
7.4.140.0140.00917.86
7.4.130.0100.00916.29
7.4.120.0120.00616.45
7.4.110.0070.01116.38
7.4.100.0070.01316.43
7.4.90.0130.00716.34
7.4.80.0130.00419.39
7.4.70.0170.00016.46
7.4.60.0090.00616.38
7.4.50.0050.00316.14
7.4.40.0110.00616.19
7.4.30.0090.00916.34
7.4.00.0080.00714.62
7.3.330.0040.00413.10
7.3.320.0000.00513.15
7.3.310.0050.00316.20
7.3.300.0040.00416.17
7.3.290.0070.01116.15
7.3.280.0080.00616.12
7.3.270.0070.01017.40
7.3.260.0130.00316.20
7.3.250.0080.01216.23
7.3.240.0060.01016.02
7.3.230.0170.00016.39
7.3.210.0080.00816.47
7.3.200.0090.00616.29
7.3.190.0080.00816.32
7.3.180.0080.00816.11
7.3.170.0040.01816.45
7.3.160.0160.00016.41
7.3.120.0080.00514.80
7.3.110.0070.01014.79
7.3.100.0070.00714.80
7.3.90.0000.00914.84
7.3.80.0070.00714.63
7.3.70.0030.00714.56
7.3.60.0100.00614.43
7.3.50.0060.00914.68
7.3.40.0000.01314.68
7.3.30.0030.01414.55
7.3.20.0060.01016.47
7.3.10.0120.00316.47
7.3.00.0120.00316.68
7.2.330.0080.00916.46
7.2.320.0140.00316.19
7.2.310.0080.00816.36
7.2.300.0060.01016.55
7.2.290.0110.00616.43
7.2.250.0150.00414.98
7.2.240.0130.00615.02
7.2.230.0070.00714.94
7.2.220.0000.01214.42
7.2.210.0070.00714.84
7.2.200.0030.01014.91
7.2.190.0070.01014.74
7.2.180.0130.00014.97
7.2.170.0030.01314.63
7.2.60.0030.01316.55
7.2.00.0000.01319.26
7.1.330.0060.00615.43
7.1.320.0040.00815.29
7.1.310.0060.00615.63
7.1.300.0040.01115.27
7.1.290.0130.00315.71
7.1.280.0070.01015.43
7.1.270.0000.01115.38
7.1.260.0100.00315.57
7.1.200.0100.00315.32
7.1.100.0040.00717.62
7.1.70.0030.00516.88
7.1.60.0120.01220.03
7.1.50.0030.01316.93
7.1.00.0100.07022.35
7.0.200.0000.00816.38
7.0.60.0030.08721.66
7.0.50.0070.05017.90
7.0.40.0200.07720.27
7.0.30.0200.04020.23
7.0.20.0170.04020.19
7.0.10.0070.08720.15
7.0.00.0070.08720.09
5.6.280.0000.05720.82
5.6.210.0030.04320.70
5.6.200.0030.04018.16
5.6.190.0000.04720.41
5.6.180.0600.06320.67
5.6.170.0300.07020.52
5.6.160.0100.07720.43
5.6.150.0000.07018.21
5.6.140.0070.07318.18
5.6.130.0070.05318.17
5.6.120.0100.08021.01
5.6.110.0030.08021.00
5.6.100.0100.07320.98
5.6.90.0070.04320.98
5.6.80.0170.07020.38
5.5.350.0070.07020.43
5.5.340.0170.04018.03
5.5.330.0100.05320.32
5.5.320.0030.04320.27
5.5.310.0200.03720.26
5.5.300.0070.06717.96
5.5.290.0130.07317.97
5.5.280.0130.08020.89
5.5.270.0130.06720.85
5.5.260.0000.04320.79
5.5.250.0100.03720.54
5.5.240.0030.08020.29
5.4.450.0600.05719.59
5.4.440.0600.05319.46
5.4.430.0630.05719.55
5.4.420.0700.04719.57
5.4.410.0600.05319.34
5.4.400.0600.05319.10
5.4.390.0630.04718.82
5.4.380.0670.04319.13
5.4.370.0530.05719.37
5.4.360.0630.05319.08
5.4.350.0570.05719.38
5.4.340.0600.05318.84
5.4.320.0700.05019.26
5.4.310.0530.04719.08
5.4.300.0630.04719.28
5.4.290.0530.05719.05
5.4.280.0570.05319.04
5.4.270.0200.04718.88
5.4.260.0100.05719.05
5.4.250.0270.04719.13
5.4.240.0130.05319.25
5.4.230.0100.06018.84
5.4.220.0200.05319.24
5.4.210.0070.06019.36
5.4.200.0230.05018.94
5.4.190.0200.05019.23
5.4.180.0170.05318.99
5.4.170.0170.05018.84
5.4.160.0200.04319.25
5.4.150.0230.06018.98
5.4.140.0370.04316.44
5.4.130.0170.05016.43
5.4.120.0170.05016.72
5.4.110.0170.05016.45
5.4.100.0070.05716.58
5.4.90.0200.04316.43
5.4.80.0200.04316.47
5.4.70.0370.06016.44
5.4.60.0100.03716.17
5.4.50.0000.03716.35
5.4.40.0270.03316.56
5.4.30.0300.06016.51
5.4.20.0270.03716.22
5.4.10.0300.03316.52

preferences:
55.33 ms | 400 KiB | 5 Q