3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface C { public function testing(); } abstract class A implements C { abstract public function testing(); } class B extends A { function testing() { return "Working"; } } $val = new B; echo $val->testing(5);

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.0060.01218.18
8.3.50.0120.00921.92
8.3.40.0080.00818.64
8.3.30.0070.00718.96
8.3.20.0050.00220.20
8.3.10.0050.00323.61
8.3.00.0050.00318.89
8.2.180.0120.00918.16
8.2.170.0120.00322.96
8.2.160.0030.01020.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00021.04
8.2.110.0060.00320.52
8.2.100.0000.01117.89
8.2.90.0040.00417.63
8.2.80.0000.00818.53
8.2.70.0000.00817.93
8.2.60.0060.00318.22
8.2.50.0030.00518.10
8.2.40.0000.00821.14
8.2.30.0030.00619.30
8.2.20.0060.00317.76
8.2.10.0040.00418.11
8.2.00.0070.00017.60
8.1.280.0040.01125.92
8.1.270.0040.00418.69
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.69
8.1.230.0090.00322.25
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0100.00517.00
8.1.190.0090.00017.22
8.1.180.0080.00018.10
8.1.170.0040.00418.50
8.1.160.0000.00720.64
8.1.150.0050.00318.94
8.1.140.0000.00719.30
8.1.130.0080.00017.86
8.1.120.0030.00317.46
8.1.110.0050.00317.40
8.1.100.0000.00717.35
8.1.90.0040.00417.34
8.1.80.0000.00717.34
8.1.70.0000.00817.37
8.1.60.0080.00017.55
8.1.50.0040.00417.43
8.1.40.0000.00817.52
8.1.30.0000.00917.48
8.1.20.0000.00817.60
8.1.10.0040.00417.56
8.1.00.0000.00817.57
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0050.00318.43
8.0.270.0040.00317.25
8.0.260.0060.00017.31
8.0.250.0030.00316.86
8.0.240.0000.00716.96
8.0.230.0040.00416.80
8.0.220.0070.00016.82
8.0.210.0070.00016.90
8.0.200.0000.00616.93
8.0.190.0080.00316.85
8.0.180.0040.00416.80
8.0.170.0000.00716.95
8.0.160.0070.00016.87
8.0.150.0000.00716.78
8.0.140.0030.00316.94
8.0.130.0060.00013.36
8.0.120.0040.00416.82
8.0.110.0080.00016.89
8.0.100.0070.00016.85
8.0.90.0040.00416.79
8.0.80.0140.00616.86
8.0.70.0090.00016.78
8.0.60.0040.00416.70
8.0.50.0070.00016.68
8.0.30.0140.00717.13
8.0.20.0100.00817.40
8.0.10.0000.00716.86
8.0.00.0100.00916.89
7.4.330.0030.00315.03
7.4.320.0060.00016.61
7.4.300.0060.00016.60
7.4.290.0030.00316.41
7.4.280.0100.00016.63
7.4.270.0000.00816.42
7.4.260.0040.00416.52
7.4.250.0050.00316.48
7.4.240.0020.00516.57
7.4.230.0000.00816.35
7.4.220.0070.01416.46
7.4.210.0030.01616.61
7.4.200.0000.00716.34
7.4.160.0060.00916.57
7.4.150.0040.01417.40
7.4.140.0120.00617.86
7.4.130.0100.00916.53
7.4.120.0130.00416.56
7.4.110.0110.00716.25
7.4.100.0100.01016.48
7.4.90.0040.01216.58
7.4.80.0060.01219.39
7.4.70.0100.01016.57
7.4.60.0060.01016.39
7.4.50.0050.00016.49
7.4.40.0030.01316.37
7.4.30.0140.00316.41
7.4.00.0070.01015.02
7.3.330.0030.00313.22
7.3.320.0050.00013.25
7.3.310.0000.00716.29
7.3.300.0060.00016.31
7.3.290.0100.00916.32
7.3.280.0090.00716.32
7.3.270.0030.01417.40
7.3.260.0080.00816.32
7.3.250.0070.00916.40
7.3.240.0100.00716.62
7.3.230.0080.01116.39
7.3.210.0100.00716.30
7.3.200.0130.00319.39
7.3.190.0030.01216.33
7.3.180.0040.01216.60
7.3.170.0100.01016.32
7.3.160.0130.00316.59
7.2.330.0100.01016.61
7.2.320.0060.01016.31
7.2.310.0120.01016.57
7.2.300.0160.00016.66
7.2.290.0150.00316.34
7.2.00.0090.00619.50
7.1.100.0100.00718.14
7.1.70.0070.00316.79
7.1.60.0110.01419.46
7.1.50.0070.01416.90
7.1.00.0070.07022.54
7.0.200.0070.00316.66
7.0.140.0030.06022.11
7.0.60.0070.03720.02
7.0.50.0000.04317.89
7.0.40.0070.07020.14
7.0.30.0300.07720.21
7.0.20.0170.04320.24
7.0.10.0030.06720.23
7.0.00.0100.08720.19
5.6.280.0000.09321.12
5.6.210.0070.08320.68
5.6.200.0000.04718.18
5.6.190.0100.08020.61
5.6.180.0270.05720.33
5.6.170.0230.04320.54
5.6.160.0100.08720.55
5.6.150.0070.07718.16
5.6.140.0030.07318.12
5.6.130.0030.05718.15
5.6.120.0130.05321.02
5.6.110.0030.04321.00
5.6.100.0100.08021.04
5.6.90.0170.06021.04
5.6.80.0100.08020.41
5.5.350.3130.03320.41
5.5.340.0100.07318.00
5.5.330.0100.07720.27
5.5.320.0330.06320.52
5.5.310.0300.06020.27
5.5.300.0130.07318.08
5.5.290.0100.05717.98
5.5.280.0070.06320.80
5.5.270.0000.04320.74
5.5.260.0130.07720.85
5.5.250.0200.06720.62
5.5.240.0000.07320.26
5.4.450.0770.05719.34
5.4.440.0770.05719.55
5.4.430.0970.05019.66
5.4.420.0870.06319.58
5.4.410.0630.05319.35
5.4.400.0630.05318.89
5.4.390.0330.07318.43
5.4.380.0370.07018.75
5.4.370.0430.06718.71
5.4.360.0470.06318.59
5.4.350.0370.08018.57
5.4.340.0500.06018.57
5.4.320.0270.05718.78
5.4.310.0400.05018.59
5.4.300.0470.06018.59
5.4.290.0400.05718.49
5.4.280.0430.04718.48
5.4.270.0300.05718.76
5.4.260.0370.07018.51
5.4.250.0300.06018.49
5.4.240.0470.04718.45
5.4.230.0470.05718.62
5.4.220.0530.04718.63
5.4.210.0470.05718.79
5.4.200.0500.05716.55
5.4.190.0330.05318.73
5.4.180.0300.06018.50
5.4.170.0470.05718.57
5.4.160.0330.06318.70
5.4.150.0370.06018.78
5.4.140.0300.05716.25
5.4.130.0330.07316.22
5.4.120.0330.06716.29
5.4.110.0400.06016.21
5.4.100.0370.05316.20
5.4.90.0470.04716.45
5.4.80.0330.04716.23
5.4.70.0430.04316.33
5.4.60.0300.05316.29
5.4.50.0530.06316.14
5.4.40.0530.06716.16
5.4.30.0400.06316.14
5.4.20.0570.05716.25
5.4.10.0370.04716.11
5.4.00.0500.05015.87
5.3.290.0400.06314.83
5.3.280.0300.08014.78
5.3.270.0470.07014.79
5.3.260.0470.07014.71
5.3.250.0600.05314.64
5.3.240.0370.07714.79
5.3.230.0570.07314.66
5.3.220.0370.05714.75
5.3.210.0500.05014.75
5.3.200.0600.06714.79
5.3.190.0230.05714.75
5.3.180.0270.05314.73
5.3.170.0300.06314.54
5.3.160.0330.04714.59
5.3.150.0470.04714.61
5.3.140.0300.06014.75
5.3.130.0400.05714.75
5.3.120.0400.04714.68
5.3.110.0530.07314.56
5.3.100.0600.06314.07
5.3.90.0570.06714.23
5.3.80.0570.06714.09
5.3.70.0530.06014.04
5.3.60.0530.04714.21
5.3.50.0630.04014.00
5.3.40.0500.06714.00
5.3.30.0570.06313.95
5.3.20.0570.05013.81
5.3.10.0400.05313.89
5.3.00.0430.07713.70
5.2.170.0430.05011.17
5.2.160.0270.04011.15
5.2.150.0230.04711.27
5.2.140.0270.04711.22
5.2.130.0200.04711.22
5.2.120.0330.04311.18
5.2.110.0230.04711.33
5.2.100.0230.04311.13
5.2.90.0270.04711.09
5.2.80.0200.04311.17
5.2.70.0270.04011.20
5.2.60.0300.04311.17
5.2.50.0200.05311.02
5.2.40.0370.05011.04
5.2.30.0230.04711.00
5.2.20.0270.03710.94
5.2.10.0200.04010.88
5.2.00.0270.04010.82
5.1.60.0270.03310.04
5.1.50.0230.04710.12
5.1.40.0300.04310.08
5.1.30.0400.04310.36
5.1.20.0270.04310.45
5.1.10.0300.04710.10
5.1.00.0230.05010.12
5.0.50.0100.0338.68
5.0.40.0030.0338.46
5.0.30.0070.0538.30
5.0.20.0070.0338.23
5.0.10.0230.0308.22
5.0.00.0100.0538.23
4.4.90.0070.0275.90
4.4.80.0170.0205.92
4.4.70.0030.0305.93
4.4.60.0130.0205.80
4.4.50.0130.0305.87
4.4.40.0070.0505.88
4.4.30.0100.0235.85
4.4.20.0030.0305.88
4.4.10.0070.0235.98
4.4.00.0030.0405.89
4.3.110.0070.0235.84
4.3.100.0030.0275.79
4.3.90.0130.0205.88
4.3.80.0030.0405.82
4.3.70.0100.0205.87
4.3.60.0100.0205.86
4.3.50.0170.0235.81
4.3.40.0130.0375.73
4.3.30.0100.0204.63
4.3.20.0000.0274.57
4.3.10.0100.0174.52
4.3.00.0100.0236.73

preferences:
35.31 ms | 401 KiB | 5 Q