3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class myBaseClass { abstract protected function doSomething(); public function rerere() { return "..."; } } class myClass extends myBaseClass { public function doSomething() { rerere(); } } $implementor = new myClass(); $implementor->doSomething();

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.00316.63
8.3.50.0290.00921.95
8.3.40.0070.00718.83
8.3.30.0110.00418.83
8.3.20.0040.00420.18
8.3.10.0040.00423.52
8.3.00.0040.00717.63
8.2.180.0110.00718.46
8.2.170.0150.00422.96
8.2.160.0070.00719.30
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00317.50
8.2.110.0040.00419.21
8.2.100.0120.00018.04
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0040.00421.06
8.2.30.0040.00420.55
8.2.20.0080.00017.74
8.2.10.0040.00318.10
8.2.00.0050.00318.05
8.1.280.0150.00425.92
8.1.270.0000.00823.73
8.1.260.0060.00326.35
8.1.250.0030.00628.09
8.1.240.0050.00520.99
8.1.230.0110.00017.66
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0030.00617.10
8.1.190.0050.00317.10
8.1.180.0030.00518.10
8.1.170.0040.00418.96
8.1.160.0070.00021.93
8.1.150.0070.00018.80
8.1.140.0030.00517.42
8.1.130.0000.00817.75
8.1.120.0030.00617.36
8.1.110.0040.00417.39
8.1.100.0070.00017.38
8.1.90.0050.00317.43
8.1.80.0000.00717.38
8.1.70.0000.00717.30
8.1.60.0000.00817.46
8.1.50.0000.00817.56
8.1.40.0000.00817.45
8.1.30.0040.00717.43
8.1.20.0000.00717.60
8.1.10.0040.00417.58
8.1.00.0040.00417.40
8.0.300.0020.00518.77
8.0.290.0070.00016.63
8.0.280.0070.00018.30
8.0.270.0000.00816.70
8.0.260.0040.00417.20
8.0.250.0040.00416.88
8.0.240.0000.00816.97
8.0.230.0040.00416.82
8.0.220.0000.00716.92
8.0.210.0070.00016.79
8.0.200.0030.00317.00
8.0.190.0060.00316.98
8.0.180.0070.00016.89
8.0.170.0030.00516.84
8.0.160.0030.00316.85
8.0.150.0000.00716.80
8.0.140.0060.00316.91
8.0.130.0000.00513.28
8.0.120.0050.00216.77
8.0.110.0070.00016.92
8.0.100.0000.00716.76
8.0.90.0050.00216.93
8.0.80.0000.01416.80
8.0.70.0050.00316.79
8.0.60.0050.00216.91
8.0.50.0070.00016.87
8.0.30.0110.00917.05
8.0.20.0110.01017.40
8.0.10.0040.00417.02
8.0.00.0100.00816.93
7.4.330.0020.00215.08
7.4.320.0030.00616.40
7.4.300.0030.00316.54
7.4.290.0030.00316.65
7.4.280.0000.00716.64
7.4.270.0030.00516.49
7.4.260.0070.00016.51
7.4.250.0040.00416.48
7.4.240.0040.00416.56
7.4.230.0070.00016.50
7.4.220.0120.00616.64
7.4.210.0130.00716.72
7.4.200.0040.00416.40
7.4.160.0030.01816.39
7.4.150.0100.00717.40
7.4.140.0180.00517.86
7.4.130.0150.00716.58
7.4.120.0100.00816.55
7.4.110.0030.01416.61
7.4.100.0040.01216.57
7.4.90.0070.01016.50
7.4.80.0150.00919.39
7.4.70.0130.00316.63
7.4.60.0150.00616.50
7.4.50.0000.00816.30
7.4.40.0120.00316.56
7.4.30.0080.00816.58
7.4.00.0110.00514.78
7.3.330.0000.00613.37
7.3.320.0030.00313.44
7.3.310.0000.00816.35
7.3.300.0090.00016.32
7.3.290.0080.00916.33
7.3.280.0070.01016.34
7.3.270.0220.00317.40
7.3.260.0140.00316.71
7.3.240.0150.00516.36
7.3.230.0090.00916.39
7.3.210.0130.00316.45
7.3.200.0080.00816.50
7.3.190.0100.01416.36
7.3.180.0100.01016.39
7.3.170.0070.01116.39
7.3.160.0100.01016.38
7.3.120.0050.01314.80
7.3.110.0030.01514.87
7.3.100.0050.01114.80
7.3.90.0030.01314.89
7.3.80.0040.00814.75
7.3.70.0080.00514.62
7.3.60.0030.01214.71
7.3.50.0070.00614.78
7.3.40.0080.00614.72
7.3.30.0110.00514.72
7.3.20.0030.00816.64
7.3.10.0030.00916.56
7.3.00.0080.00616.49
7.2.330.0090.00916.71
7.2.320.0100.00716.66
7.2.310.0070.01016.44
7.2.300.0080.00816.50
7.2.290.0100.00716.62
7.2.250.0070.01014.95
7.2.240.0090.00915.19
7.2.230.0080.00714.84
7.2.220.0100.00514.73
7.2.210.0080.00814.82
7.2.200.0030.01114.88
7.2.190.0050.01014.89
7.2.180.0040.01014.82
7.2.170.0080.00714.97
7.2.60.0060.00616.67
7.2.00.0090.00919.30
7.1.330.0070.00515.65
7.1.320.0090.00515.64
7.1.310.0090.00615.61
7.1.300.0070.00615.58
7.1.290.0110.00215.57
7.1.280.0090.00315.47
7.1.270.0090.00515.42
7.1.260.0090.00415.64
7.1.200.0070.01015.68
7.1.100.0030.00817.98
7.1.70.0000.00716.83
7.1.60.0060.01819.13
7.1.50.0110.01116.84
7.1.00.0000.07722.35
7.0.200.0360.00314.45
7.0.60.0000.08719.93
7.0.50.0030.08717.95
7.0.40.0070.04020.24
7.0.30.0400.07320.26
7.0.20.0270.04320.06
7.0.10.0070.05020.24
7.0.00.0100.08720.32
5.6.280.0000.05020.86
5.6.210.0100.06720.54
5.6.200.0130.08018.19
5.6.190.0030.07320.61
5.6.180.0370.08020.64
5.6.170.0200.04020.62
5.6.160.0030.04320.56
5.6.150.0100.06718.15
5.6.140.0100.07718.14
5.6.130.0070.07318.18
5.6.120.0030.04320.99
5.6.110.0100.08020.96
5.6.100.0070.03721.09
5.6.90.0130.04320.96
5.6.80.0100.07020.54
5.6.70.4170.04020.41
5.5.350.0030.06020.33
5.5.340.0070.07718.08
5.5.330.0070.08320.38
5.5.320.0030.06320.29
5.5.310.0230.06020.34
5.5.300.0100.04317.96
5.5.290.0100.07017.92
5.5.280.0000.04320.90
5.5.270.0030.04020.96
5.5.260.0170.06320.84
5.5.250.0100.07020.61
5.5.240.0200.07320.26
5.4.450.0170.05719.35
5.4.440.0130.06019.33
5.4.430.0200.05019.21
5.4.420.0130.05719.46
5.4.410.0170.05319.21
5.4.400.0200.06019.20
5.4.390.0170.05719.14
5.4.380.0200.04719.03
5.4.370.0230.05018.97
5.4.360.0130.05719.23
5.4.350.0330.03318.84
5.4.340.0200.05718.89
5.4.320.0170.06019.01
5.4.310.0300.06719.19
5.4.300.0170.08319.22
5.4.290.0270.06019.19
5.4.280.0300.06719.14
5.4.270.0230.07019.19
5.4.260.0230.06019.14
5.4.250.0230.06719.14
5.4.240.0130.06019.14
5.4.230.0130.05319.12
5.4.220.0170.05019.26
5.4.210.0170.05019.21
5.4.200.0130.05319.10
5.4.190.0170.05019.01
5.4.180.0170.05718.98
5.4.170.0200.07019.21
5.4.160.0200.05019.13
5.4.150.0100.06019.12
5.4.140.0330.05716.56
5.4.130.0330.05716.34
5.4.120.0200.06016.34
5.4.110.0130.06316.50
5.4.100.0200.05716.26
5.4.90.0200.05316.47
5.4.80.0200.06316.48
5.4.70.0130.05016.60
5.4.60.0200.05316.41
5.4.50.0270.06016.23
5.4.40.0170.05016.59
5.4.30.0070.06016.50
5.4.20.0200.06016.56
5.4.10.0200.05316.34
5.4.00.0130.05015.88

preferences:
50.85 ms | 401 KiB | 5 Q