3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a{} abstract class b extends a { } class c extends b { } $c = new c();

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.00918.03
8.3.50.0080.00818.21
8.3.40.0030.01218.46
8.3.30.0060.00918.97
8.3.20.0040.00420.16
8.3.10.0080.00020.23
8.3.00.0000.00817.55
8.2.180.0120.00316.50
8.2.170.0040.01122.96
8.2.160.0130.00320.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0030.00622.09
8.2.110.0070.00319.25
8.2.100.0080.00317.72
8.2.90.0000.00819.17
8.2.80.0060.00317.97
8.2.70.0000.00917.38
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0050.00517.97
8.2.30.0050.00219.22
8.2.20.0040.00417.59
8.2.10.0080.00017.89
8.2.00.0000.00817.61
8.1.270.0060.01223.84
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00422.19
8.1.230.0000.01118.95
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0030.00618.59
8.1.160.0000.00721.93
8.1.150.0000.00818.82
8.1.140.0000.00817.42
8.1.130.0030.00317.75
8.1.120.0000.00817.39
8.1.110.0040.00417.33
8.1.100.0040.00417.39
8.1.90.0080.00017.39
8.1.80.0040.00417.34
8.1.70.0030.00317.31
8.1.60.0060.00317.40
8.1.50.0000.00917.34
8.1.40.0000.00817.46
8.1.30.0000.00817.60
8.1.20.0030.00517.50
8.1.10.0050.00317.54
8.1.00.0000.00717.43
8.0.300.0080.00020.05
8.0.290.0000.00716.63
8.0.280.0070.00018.43
8.0.270.0000.00717.06
8.0.260.0030.00317.20
8.0.250.0070.00016.84
8.0.240.0030.00316.77
8.0.230.0030.00316.79
8.0.220.0040.00416.81
8.0.210.0020.00216.68
8.0.200.0000.00816.85
8.0.190.0030.00716.91
8.0.180.0000.00816.84
8.0.170.0000.00916.84
8.0.160.0030.00316.74
8.0.150.0000.00716.77
8.0.140.0000.00716.64
8.0.130.0000.00513.20
8.0.120.0050.00316.75
8.0.110.0040.00416.86
8.0.100.0070.00016.93
8.0.90.0070.00016.77
8.0.80.0110.00416.81
8.0.70.0040.00416.84
8.0.60.0020.00516.61
8.0.50.0040.00416.75
8.0.30.0110.01216.97
8.0.20.0130.01017.40
8.0.10.0000.00716.93
8.0.00.0100.00716.66
7.4.330.0000.00515.08
7.4.320.0000.00616.45
7.4.300.0030.00316.45
7.4.290.0000.00716.57
7.4.280.0020.00516.52
7.4.270.0060.00016.44
7.4.260.0030.00416.52
7.4.250.0000.00716.39
7.4.240.0020.00516.47
7.4.230.0030.00316.50
7.4.220.0100.00616.54
7.4.210.0110.00316.64
7.4.200.0050.00216.59
7.4.160.0140.01016.30
7.4.150.0080.00917.40
7.4.140.0130.00417.86
7.4.130.0050.01416.40
7.4.120.0100.00616.45
7.4.110.0120.00616.37
7.4.100.0100.00716.46
7.4.90.0030.01316.49
7.4.80.0120.00616.60
7.4.70.0130.00316.31
7.4.60.0140.00316.50
7.4.50.0000.00616.39
7.4.40.0060.00916.26
7.4.30.0100.00616.49
7.4.00.0120.00515.02
7.3.330.0050.00013.05
7.3.320.0050.00013.11
7.3.310.0060.00316.20
7.3.300.0030.00316.03
7.3.290.0070.00716.22
7.3.280.0070.00916.17
7.3.270.0060.01017.40
7.3.260.0080.01216.52
7.3.250.0120.00616.26
7.3.240.0100.01216.32
7.3.230.0060.01616.42
7.3.210.0130.00316.39
7.3.200.0160.00019.39
7.3.190.0070.01016.21
7.3.180.0070.00916.46
7.3.170.0110.00616.27
7.3.160.0030.01316.27
7.3.120.0130.00614.96
7.3.110.0060.01014.33
7.3.100.0150.00314.67
7.3.90.0080.00014.59
7.3.80.0030.01314.65
7.3.70.0070.01014.73
7.3.60.0030.01014.78
7.3.50.0030.01014.55
7.3.40.0030.01214.61
7.3.30.0100.00714.64
7.3.20.0030.01316.51
7.3.10.0040.01116.38
7.3.00.0060.00616.62
7.2.330.0160.00016.63
7.2.320.0100.00716.43
7.2.310.0070.01016.61
7.2.300.0140.00316.55
7.2.290.0120.00616.52
7.2.250.0040.00715.08
7.2.240.0070.01014.80
7.2.230.0060.00914.50
7.2.220.0080.00814.94
7.2.210.0070.01114.85
7.2.200.0060.00614.82
7.2.190.0130.00314.94
7.2.180.0100.01014.68
7.2.170.0100.00315.04
7.2.00.0050.01519.26
7.1.330.0080.00815.54
7.1.320.0080.00415.68
7.1.310.0070.01015.28
7.1.300.0070.00715.53
7.1.290.0120.00615.67
7.1.280.0060.00615.46
7.1.270.0030.01015.57
7.1.260.0030.00715.59
7.1.200.0000.00715.42
7.1.100.0030.01017.97
7.1.70.0020.00517.00
7.1.60.0000.02419.32
7.1.50.0130.01016.53
7.1.00.0030.07722.54
7.0.200.0050.00216.69
7.0.140.0000.07722.13
7.0.60.0070.07719.88
7.0.50.0100.03317.97
7.0.40.0030.04320.26
7.0.30.0300.05720.25
7.0.20.0470.05720.36
7.0.10.0130.06020.21
7.0.00.0030.08020.14
5.6.280.0000.07321.04
5.6.210.0200.06020.56
5.6.200.0070.06318.18
5.6.190.0030.04320.63
5.6.180.0370.07720.63
5.6.170.0200.04320.58
5.6.160.0070.04320.52
5.6.150.0100.06718.29
5.6.140.0070.06318.18
5.6.130.0130.08018.27
5.6.120.0200.05721.05
5.6.110.0170.07020.89
5.6.100.0030.08021.11
5.6.90.0170.04720.92
5.6.80.0100.03320.43
5.5.350.0200.06720.30
5.5.340.0100.07317.93
5.5.330.0100.07020.37
5.5.320.0300.06720.41
5.5.310.0330.05720.30
5.5.300.0130.07718.07
5.5.290.0030.05017.97
5.5.280.0070.06320.68
5.5.270.0000.04320.72
5.5.260.0130.06720.86
5.5.250.0000.04320.61
5.5.240.0000.06020.34
5.4.450.0700.05319.48
5.4.440.0730.05719.32
5.4.430.0800.06019.55
5.4.420.1030.07019.29
5.4.410.0800.06319.50
5.4.400.0770.05719.15
5.4.390.0070.06718.98
5.4.380.0500.06018.52
5.4.370.0300.05018.78
5.4.360.0330.05718.50
5.4.350.0230.06718.72
5.4.340.0370.05318.46
5.4.320.0090.03512.50
5.4.310.0110.04112.50
5.4.300.0080.04512.50
5.4.290.0050.04412.50
5.4.280.0030.03712.39
5.4.270.0080.03912.39
5.4.260.0090.03512.39
5.4.250.0070.03512.39
5.4.240.0050.03712.39
5.4.230.0070.04012.38
5.4.220.0060.03712.38
5.4.210.0060.04212.38
5.4.200.0050.03712.38
5.4.190.0050.03612.38
5.4.180.0040.03712.38
5.4.170.0040.04312.39
5.4.160.0070.03312.39
5.4.150.0110.03112.38
5.4.140.0080.03512.06
5.4.130.0050.03912.05
5.4.120.0050.03512.02
5.4.110.0040.03512.01
5.4.100.0100.03012.01
5.4.90.0080.03312.01
5.4.80.0050.03612.01
5.4.70.0080.03312.00
5.4.60.0060.04712.00
5.4.50.0080.03212.01
5.4.40.0090.03211.99
5.4.30.0080.03311.99
5.4.20.0030.03711.99
5.4.10.0050.03411.98
5.4.00.0100.03011.47
5.3.290.0070.03912.80
5.3.280.0040.03812.71
5.3.270.0070.03712.72
5.3.260.0030.04112.72
5.3.250.0040.03712.72
5.3.240.0050.04112.72
5.3.230.0030.03912.71
5.3.220.0070.03412.68
5.3.210.0060.03812.68
5.3.200.0060.03812.68
5.3.190.0040.03812.68
5.3.180.0080.03412.68
5.3.170.0080.03312.67
5.3.160.0050.03712.67
5.3.150.0080.03312.67
5.3.140.0100.03712.66
5.3.130.0050.03812.66
5.3.120.0070.03612.66
5.3.110.0050.04512.66
5.3.100.0020.03912.12
5.3.90.0050.03712.10
5.3.80.0100.04012.08
5.3.70.0100.03212.08
5.3.60.0040.04012.07
5.3.50.0050.03612.02
5.3.40.0060.03512.02
5.3.30.0080.03311.98
5.3.20.0060.03911.76
5.3.10.0080.04111.72
5.3.00.0070.03611.71
5.2.170.0040.0359.21
5.2.160.0050.0419.21
5.2.150.0070.0409.21
5.2.140.0050.0399.21
5.2.130.0060.0329.17
5.2.120.0050.0289.17
5.2.110.0070.0389.18
5.2.100.0040.0299.17
5.2.90.0010.0339.16
5.2.80.0040.0309.16
5.2.70.0010.0349.17
5.2.60.0040.0309.12
5.2.50.0040.0319.09
5.2.40.0050.0299.06
5.2.30.0070.0299.04
5.2.20.0070.0299.03
5.2.10.0050.0278.94
5.2.00.0040.0298.80
5.1.60.0060.0218.08
5.1.50.0030.0258.08
5.1.40.0050.0228.06
5.1.30.0060.0288.41
5.1.20.0010.0288.43
5.1.10.0020.0278.15
5.1.00.0030.0268.16
5.0.50.0040.0196.63
5.0.40.0040.0246.49
5.0.30.0030.0316.30
5.0.20.0030.0236.27
5.0.10.0040.0256.25
5.0.00.0030.0366.24
4.4.90.0010.0174.78
4.4.80.0060.0124.75
4.4.70.0010.0174.76
4.4.60.0020.0154.75
4.4.50.0040.0144.77
4.4.40.0040.0334.70
4.4.30.0020.0234.76
4.4.20.0040.0194.84
4.4.10.0020.0164.85
4.4.00.0040.0284.76
4.3.110.0030.0214.67
4.3.100.0040.0174.67
4.3.90.0050.0164.63
4.3.80.0030.0244.59
4.3.70.0040.0204.63
4.3.60.0030.0144.62
4.3.50.0050.0164.63
4.3.40.0060.0214.54
4.3.30.0020.0203.29
4.3.20.0010.0173.27
4.3.10.0020.0163.23
4.3.00.0100.0277.58

preferences:
42.07 ms | 400 KiB | 5 Q