3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface superbase { public static function ball(); public static function foo(); } abstract class base implements superbase { abstract public static function ball(); public static function foo(){ echo 'foo'; } } class child implements base{ public static function ball(){ echo 'baseball'; } } child::foo(); child::ball();

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.0170.00316.75
8.3.50.0110.00522.05
8.3.40.0040.01118.75
8.3.30.0100.00318.92
8.3.20.0050.00320.33
8.3.10.0030.00523.63
8.3.00.0040.00419.38
8.2.180.0120.00316.75
8.2.170.0120.00322.96
8.2.160.0100.00320.39
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0120.00626.16
8.2.120.0000.00822.09
8.2.110.0030.00622.25
8.2.100.0060.00617.72
8.2.90.0000.00819.06
8.2.80.0000.00817.97
8.2.70.0080.00017.38
8.2.60.0000.00917.91
8.2.50.0050.00318.07
8.2.40.0080.00018.22
8.2.30.0000.00817.99
8.2.20.0040.00417.67
8.2.10.0000.00718.00
8.2.00.0000.00917.53
8.1.280.0070.01025.92
8.1.270.0080.00023.92
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00324.02
8.1.230.0080.00419.07
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0040.00417.39
8.1.180.0000.00818.10
8.1.170.0080.00018.64
8.1.160.0070.00021.92
8.1.150.0050.00218.57
8.1.140.0080.00017.38
8.1.130.0000.00717.76
8.1.120.0030.00317.39
8.1.110.0040.00417.39
8.1.100.0000.00717.43
8.1.90.0040.00417.28
8.1.80.0000.00817.38
8.1.70.0070.00017.24
8.1.60.0030.00517.54
8.1.50.0040.00417.44
8.1.40.0080.00317.44
8.1.30.0000.00817.48
8.1.20.0000.00817.47
8.1.10.0040.00417.43
8.1.00.0030.00617.19
8.0.300.0000.00718.77
8.0.290.0080.00017.15
8.0.280.0000.00718.37
8.0.270.0050.00317.13
8.0.260.0000.00816.73
8.0.250.0030.00316.93
8.0.240.0040.00316.94
8.0.230.0040.00416.88
8.0.220.0070.00016.88
8.0.210.0040.00416.75
8.0.200.0000.00616.98
8.0.190.0030.00516.90
8.0.180.0040.00416.96
8.0.170.0000.00716.92
8.0.160.0000.00716.77
8.0.150.0040.00416.82
8.0.140.0000.00916.80
8.0.130.0000.00513.27
8.0.120.0030.00516.74
8.0.110.0000.00716.87
8.0.100.0030.00616.88
8.0.90.0070.00016.88
8.0.80.0080.00816.82
8.0.70.0040.00416.89
8.0.60.0000.00716.86
8.0.50.0040.00416.92
8.0.30.0080.01317.07
8.0.20.0080.01017.40
8.0.10.0000.00717.05
8.0.00.0150.00416.68
7.4.330.0020.00215.00
7.4.320.0000.00616.55
7.4.300.0030.00316.44
7.4.290.0000.00716.33
7.4.280.0070.00016.43
7.4.270.0000.00716.29
7.4.260.0050.00316.46
7.4.250.0000.00816.39
7.4.240.0040.00416.49
7.4.230.0020.00516.61
7.4.220.0030.01316.30
7.4.210.0070.00916.48
7.4.200.0070.00016.41
7.4.190.0050.00216.40
7.4.160.0120.00416.37
7.4.150.0080.00817.40
7.4.140.0080.01217.86
7.4.130.0080.00916.56
7.4.120.0080.01016.45
7.4.110.0110.00516.25
7.4.100.0060.01516.45
7.4.90.0100.00716.45
7.4.80.0080.01119.39
7.4.70.0060.01016.34
7.4.60.0100.00716.52
7.4.50.0080.00016.38
7.4.40.0040.01122.77
7.4.30.0100.00516.55
7.4.00.0060.01214.88
7.3.330.0030.00313.25
7.3.320.0030.00313.10
7.3.310.0030.00316.10
7.3.300.0060.00016.11
7.3.290.0090.00616.23
7.3.280.0080.01116.23
7.3.270.0030.01417.40
7.3.260.0060.01116.49
7.3.250.0100.01016.27
7.3.240.0060.01516.18
7.3.230.0060.01216.39
7.3.210.0120.00616.25
7.3.200.0060.01219.39
7.3.190.0090.00916.25
7.3.180.0110.00416.42
7.3.170.0080.00716.29
7.3.160.0070.01016.36
7.3.120.0070.00614.67
7.3.10.0120.00616.54
7.3.00.0090.00616.52
7.2.330.0030.01416.59
7.2.320.0030.01316.31
7.2.310.0080.00816.35
7.2.300.0060.01016.35
7.2.290.0090.00916.64
7.2.130.0160.00616.63
7.2.120.0000.01116.71
7.2.110.0040.00816.63
7.2.100.0110.00416.62
7.2.90.0070.00716.78
7.2.80.0030.01016.73
7.2.70.0040.00716.59
7.2.60.0080.00716.72
7.2.50.0040.01216.79
7.2.40.0070.00716.51
7.2.30.0130.00016.86
7.2.20.0100.00316.34
7.2.10.0060.01016.80
7.2.00.0060.00617.92
7.1.250.0090.01015.82
7.1.200.0030.00515.58
7.1.100.0080.00417.90
7.1.70.0060.00917.15
7.1.60.0070.01719.31
7.1.50.0070.01416.71
7.1.00.0030.07022.35
7.0.200.0030.00616.51
7.0.140.0070.07021.95
7.0.60.0070.07719.90
7.0.50.0070.03717.84
7.0.40.0070.08320.11
7.0.30.0500.05020.24
7.0.20.0300.07020.23
7.0.10.0100.04020.07
7.0.00.0070.08720.16
5.6.280.0130.06320.79
5.6.210.0170.04020.46
5.6.200.0030.07718.25
5.6.190.0070.04020.77
5.6.180.0300.06320.59
5.6.170.0170.05320.71
5.6.160.0030.05320.47
5.6.150.0100.08018.25
5.6.140.0030.06018.29
5.6.130.0130.07018.17
5.6.120.0070.07720.93
5.6.110.0070.08721.05
5.6.100.0130.07721.02
5.6.90.0100.05320.96
5.6.80.0070.04720.45
5.5.350.0330.06720.43
5.5.340.0070.08318.09
5.5.330.0070.04020.30
5.5.320.0100.07720.30
5.5.310.0300.07020.27
5.5.300.0070.08717.95
5.5.290.0030.04717.96
5.5.280.0100.04020.64
5.5.270.0130.08020.86
5.5.260.0030.08720.77
5.5.250.0100.08320.56
5.5.240.0100.03320.38
5.4.450.0300.05719.19
5.4.440.0830.05019.34
5.4.430.0770.06019.19
5.4.420.0630.00019.42
5.4.410.0070.05718.73
5.4.400.0770.04718.74
5.4.390.0870.05318.62
5.4.380.0200.06018.70
5.4.370.0070.04318.50
5.4.360.0130.05018.73
5.4.350.0100.03112.02
5.4.340.0080.03412.02
5.4.320.0080.03312.51
5.4.310.0060.04212.51
5.4.300.0080.04812.51
5.4.290.0080.03512.51
5.4.280.0070.03712.40
5.4.270.0030.03912.40
5.4.260.0050.03712.40
5.4.250.0080.04412.40
5.4.240.0110.04612.40
5.4.230.0070.03612.39
5.4.220.0020.03912.40
5.4.210.0030.03812.39
5.4.200.0080.03512.39
5.4.190.0050.03912.39
5.4.180.0060.03512.39
5.4.170.0170.04312.39
5.4.160.0150.04512.38
5.4.150.0160.04412.37
5.4.140.0180.04212.06
5.4.130.0240.04012.04
5.4.120.0160.04412.00
5.4.110.0210.04112.00
5.4.100.0150.04712.00
5.4.90.0190.04512.00
5.4.80.0160.04212.00
5.4.70.0160.04412.00
5.4.60.0130.04712.00
5.4.50.0180.04612.00
5.4.40.0160.04611.98
5.4.30.0390.09011.98
5.4.20.0160.04311.98
5.4.10.0210.04311.98
5.4.00.0120.05111.47
5.3.290.0050.04412.80
5.3.280.0050.04112.71
5.3.270.0230.04312.72
5.3.260.0210.05012.72
5.3.250.0330.09612.72
5.3.240.0210.04512.72
5.3.230.0420.08312.71
5.3.220.0170.04612.68
5.3.210.0200.04512.68
5.3.200.0260.03912.68
5.3.190.0180.04712.68
5.3.180.0250.03812.67
5.3.170.0160.04612.67
5.3.160.0190.04512.67
5.3.150.0150.04812.67
5.3.140.0190.04212.66
5.3.130.0180.04912.66
5.3.120.0240.03812.66
5.3.110.0160.05012.66
5.3.100.0200.04312.12
5.3.90.0180.04412.10
5.3.80.0190.04712.08
5.3.70.0210.03912.08
5.3.60.0160.04712.07
5.3.50.0160.04412.02
5.3.40.0240.03712.02
5.3.30.0130.04512.00
5.3.20.0190.04211.77
5.3.10.0140.04111.73
5.3.00.0110.04511.71
5.2.170.0150.0329.22
5.2.160.0110.0379.22
5.2.150.0140.0349.21
5.2.140.0100.0369.21
5.2.130.0130.0639.18
5.2.120.0110.0359.17
5.2.110.0110.0369.18
5.2.100.0080.0389.19
5.2.90.0120.0339.18
5.2.80.0210.0579.17
5.2.70.0140.0339.17
5.2.60.0170.0309.12
5.2.50.0160.0319.09
5.2.40.0140.0339.06
5.2.30.0090.0379.05
5.2.20.0140.0329.05
5.2.10.0130.0328.96
5.2.00.0090.0368.80
5.1.60.0110.0298.08
5.1.50.0130.0288.08
5.1.40.0150.0258.07
5.1.30.0140.0288.42
5.1.20.0230.0508.45
5.1.10.0100.0328.16
5.1.00.0120.0308.16
5.0.50.0220.0426.64
5.0.40.0160.0156.50
5.0.30.0080.0376.31
5.0.20.0100.0226.29
5.0.10.0060.0256.26
5.0.00.0090.0346.25
4.4.90.0120.0124.78
4.4.80.0070.0174.75
4.4.70.0080.0174.75
4.4.60.0050.0204.76
4.4.50.0070.0174.77
4.4.40.0150.0504.71
4.4.30.0040.0214.76
4.4.20.0060.0184.85
4.4.10.0080.0174.85
4.4.00.0120.0234.76
4.3.110.0080.0164.67
4.3.100.0040.0204.66
4.3.90.0080.0164.63
4.3.80.0060.0294.58
4.3.70.0070.0174.63
4.3.60.0080.0174.63
4.3.50.0070.0194.63
4.3.40.0060.0284.54
4.3.30.0070.0173.30
4.3.20.0060.0173.29
4.3.10.0030.0203.25
4.3.00.0170.0305.99

preferences:
32.94 ms | 401 KiB | 5 Q