3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class A { function f(Z $a) { } } class B extends A { function f(Y $a) { } } abstract class Z { } class Y extends Z { }

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.0110.00416.73
8.3.50.0070.01021.94
8.3.40.0070.00718.67
8.3.30.0030.01019.02
8.3.20.0050.00220.41
8.3.10.0040.00423.53
8.3.00.0100.00017.25
8.2.180.0000.01818.16
8.2.170.0090.00622.96
8.2.160.0130.00720.36
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00922.44
8.2.110.0100.00020.91
8.2.100.0040.00817.84
8.2.90.0030.00619.05
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0060.00317.90
8.2.50.0000.00818.07
8.2.40.0060.00319.75
8.2.30.0040.00419.79
8.2.20.0040.00417.49
8.2.10.0000.00717.91
8.2.00.0080.00017.61
8.1.280.0060.01025.92
8.1.270.0080.00023.91
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00319.17
8.1.230.0080.00317.42
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0030.00517.23
8.1.180.0030.00719.01
8.1.170.0050.00518.71
8.1.160.0000.00721.94
8.1.150.0000.00718.48
8.1.140.0030.00617.30
8.1.130.0030.00317.70
8.1.120.0040.00417.39
8.1.110.0000.00717.39
8.1.100.0030.00517.40
8.1.90.0000.00717.44
8.1.80.0000.00717.29
8.1.70.0030.00317.39
8.1.60.0070.00317.44
8.1.50.0040.00417.49
8.1.40.0000.00717.35
8.1.30.0040.00417.46
8.1.20.0050.00317.48
8.1.10.0040.00417.33
8.1.00.0030.00617.40
8.0.300.0040.00418.77
8.0.290.0080.00316.75
8.0.280.0030.00318.45
8.0.270.0000.00717.18
8.0.260.0000.00617.18
8.0.250.0050.00216.96
8.0.240.0000.00716.83
8.0.230.0050.00216.87
8.0.220.0070.00016.75
8.0.210.0030.00316.84
8.0.200.0000.00716.92
8.0.190.0040.00416.98
8.0.180.0070.00016.81
8.0.170.0040.00416.89
8.0.160.0000.00716.74
8.0.150.0000.00716.77
8.0.140.0000.00816.88
8.0.130.0000.00813.27
8.0.120.0000.00716.85
8.0.110.0040.00416.87
8.0.100.0040.00416.83
8.0.90.0070.00016.68
8.0.80.0090.00616.88
8.0.70.0000.00817.00
8.0.60.0040.00416.90
8.0.50.0030.00416.82
8.0.30.0080.01016.86
8.0.20.0120.00617.40
8.0.10.0000.00717.06
8.0.00.0130.00516.75
7.4.330.0050.00015.09
7.4.320.0030.00316.55
7.4.300.0000.00616.44
7.4.290.0070.00016.41
7.4.280.0040.00416.32
7.4.270.0000.00816.52
7.4.260.0040.00416.52
7.4.250.0040.00416.42
7.4.240.0050.00216.46
7.4.230.0030.00316.55
7.4.220.0180.00716.64
7.4.210.0060.01016.42
7.4.200.0050.00316.50
7.4.190.0040.00416.34
7.4.160.0170.00016.21
7.4.150.0090.00817.40
7.4.140.0100.00817.86
7.4.130.0070.00916.31
7.4.120.0140.00316.38
7.4.110.0120.00416.35
7.4.100.0110.01416.31
7.4.90.0070.01016.62
7.4.80.0070.01119.39
7.4.70.0100.00716.38
7.4.60.0030.01316.43
7.4.50.0090.00016.21
7.4.40.0080.00816.41
7.4.30.0060.01216.25
7.4.00.0070.01114.60
7.3.330.0000.00513.26
7.3.320.0000.00513.18
7.3.310.0030.00316.27
7.3.300.0070.00016.22
7.3.290.0090.00916.30
7.3.280.0120.00516.22
7.3.270.0030.01417.40
7.3.260.0120.00616.30
7.3.250.0110.00616.14
7.3.240.0080.00816.16
7.3.230.0130.00916.39
7.3.210.0170.00916.15
7.3.200.0140.00719.39
7.3.190.0110.00716.45
7.3.180.0100.01316.44
7.3.170.0070.01016.32
7.3.160.0130.00616.34
7.3.120.0040.01214.70
7.2.330.0070.01016.39
7.2.320.0080.01116.44
7.2.310.0180.00616.39
7.2.300.0100.00716.59
7.2.290.0070.01016.55
7.2.60.0060.00916.38
7.2.00.0070.00718.99
7.1.200.0030.01015.70
7.1.100.0040.00717.71
7.1.70.0040.00716.85
7.1.60.0060.01919.46
7.1.50.0070.01716.85
7.1.00.0100.07022.40
7.0.200.0000.00716.79
7.0.140.0030.07322.00
7.0.60.0000.04319.80
7.0.50.0200.07017.96
7.0.40.0070.05320.13
7.0.30.0400.06720.06
7.0.20.0270.09020.16
7.0.10.0030.04320.25
7.0.00.0230.07020.29
5.6.280.0000.07720.93
5.6.210.0170.07320.63
5.6.200.0100.07318.16
5.6.190.0100.05320.77
5.6.180.0300.07720.42
5.6.170.0200.04320.58
5.6.160.0030.04320.50
5.6.150.0030.05018.21
5.6.140.0130.07318.11
5.6.130.0100.03718.11
5.6.120.0030.06720.98
5.6.110.0070.08721.11
5.6.100.0170.07320.98
5.6.90.0070.08721.03
5.6.80.0100.03320.51
5.5.350.2570.04020.47
5.5.340.0100.08017.96
5.5.330.0100.03720.40
5.5.320.0370.06320.42
5.5.310.0300.07720.35
5.5.300.0070.08317.99
5.5.290.0030.05018.07
5.5.280.0100.07720.77
5.5.270.0030.05320.87
5.5.260.0030.04320.88
5.5.250.0030.08320.70
5.5.240.0070.07720.37
5.4.450.0130.05319.31
5.4.440.0070.06019.34
5.4.430.0130.07319.20
5.4.420.0170.05019.31
5.4.410.0230.04019.50
5.4.400.0100.05319.31
5.4.390.0230.06018.88
5.4.380.0330.05318.54
5.4.370.0370.04718.50
5.4.360.0400.07018.74
5.4.350.0330.06318.79
5.4.340.0530.05018.75
5.4.320.0060.03612.51
5.4.310.0070.04212.50
5.4.300.0060.03712.51
5.4.290.0050.04012.48
5.4.280.0070.03512.38
5.4.270.0070.04412.38
5.4.260.0080.03812.38
5.4.250.0070.03912.38
5.4.240.0050.04212.38
5.4.230.0070.04512.38
5.4.220.0060.03912.38
5.4.210.0050.04012.38
5.4.200.0080.04412.38
5.4.190.0130.04512.37
5.4.180.0050.04212.37
5.4.170.0070.05612.38
5.4.160.0080.04612.38
5.4.150.0140.04512.38
5.4.140.0100.06012.06
5.4.130.0070.05112.04
5.4.120.0070.04512.00
5.4.110.0070.03612.00
5.4.100.0080.05012.00
5.4.90.0090.05112.00
5.4.80.0050.04112.00
5.4.70.0050.04612.00
5.4.60.0100.03412.00
5.4.50.0090.05012.00
5.4.40.0030.04811.98
5.4.30.0060.03911.98
5.4.20.0090.04011.98
5.4.10.0120.03111.98
5.4.00.0060.04011.47
5.3.290.0070.04912.80
5.3.280.0130.04212.71
5.3.270.0090.03912.73
5.3.260.0050.04412.72
5.3.250.0070.04312.72
5.3.240.0110.04212.72
5.3.230.0110.04212.71
5.3.220.0080.04212.68
5.3.210.0080.04012.68
5.3.200.0050.04012.68
5.3.190.0070.04012.68
5.3.180.0070.03712.67
5.3.170.0040.03912.67
5.3.160.0100.05212.68
5.3.150.0080.04712.67
5.3.140.0040.04012.66
5.3.130.0060.04712.66
5.3.120.0040.04412.66
5.3.110.0060.04912.66
5.3.100.0060.04112.13
5.3.90.0060.04312.10
5.3.80.0100.03812.10
5.3.70.0050.04212.09
5.3.60.0070.04312.08
5.3.50.0060.04712.02
5.3.40.0050.04012.02
5.3.30.0080.05111.98
5.3.20.0090.04711.77
5.3.10.0060.05911.73
5.3.00.0100.05611.72
5.2.170.0200.0539.22
5.2.160.0070.0439.22
5.2.150.0040.0389.22
5.2.140.0040.0329.21
5.2.130.0090.0269.18
5.2.120.0070.0309.18
5.2.110.0080.0339.18
5.2.100.0050.0359.18
5.2.90.0080.0439.18
5.2.80.0080.0429.18
5.2.70.0030.0349.18
5.2.60.0040.0339.13
5.2.50.0030.0349.10
5.2.40.0060.0309.08
5.2.30.0050.0379.05
5.2.20.0050.0309.04
5.2.10.0040.0528.94
5.2.00.0090.0348.80
5.1.60.0050.0368.10
5.1.50.0060.0278.09
5.1.40.0030.0268.07
5.1.30.0100.0348.42
5.1.20.0100.0248.45
5.1.10.0050.0298.17
5.1.00.0080.0328.17
5.0.50.0060.0296.64
5.0.40.0070.0436.50
5.0.30.0030.0446.32
5.0.20.0050.0246.28
5.0.10.0070.0246.26
5.0.00.0050.0336.25
4.4.90.0040.0154.78
4.4.80.0020.0194.75
4.4.70.0030.0194.75
4.4.60.0050.0214.75
4.4.50.0040.0174.77
4.4.40.0080.0284.71
4.4.30.0050.0184.76
4.4.20.0050.0264.84
4.4.10.0070.0194.85
4.4.00.0040.0294.76
4.3.110.0050.0174.67
4.3.100.0040.0154.67
4.3.90.0050.0174.63
4.3.80.0050.0314.58
4.3.70.0030.0224.63
4.3.60.0040.0154.63
4.3.50.0050.0214.63
4.3.40.0020.0344.54
4.3.30.0020.0223.28
4.3.20.0040.0203.26
4.3.10.0040.0193.22
4.3.00.0000.0237.28

preferences:
75.29 ms | 401 KiB | 5 Q