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() { $parent->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.70.0080.00818.43
8.3.60.0120.00316.75
8.3.50.0120.00721.99
8.3.40.0110.00418.92
8.3.30.0090.00918.70
8.3.20.0040.00420.34
8.3.10.0040.00423.60
8.3.00.0070.00419.27
8.2.190.0070.01116.62
8.2.180.0140.00718.54
8.2.170.0040.01122.96
8.2.160.0140.00019.55
8.2.150.0000.00724.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0110.00017.63
8.2.110.0100.00020.92
8.2.100.0060.00619.34
8.2.90.0040.00418.03
8.2.80.0000.00920.34
8.2.70.0090.00017.63
8.2.60.0080.00017.80
8.2.50.0050.00318.07
8.2.40.0040.00421.09
8.2.30.0070.00020.68
8.2.20.0080.00017.61
8.2.10.0030.00518.00
8.2.00.0000.00718.05
8.1.280.0080.01125.92
8.1.270.0050.00324.02
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00622.09
8.1.230.0080.00320.88
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0080.00017.36
8.1.180.0030.00518.10
8.1.170.0030.00518.88
8.1.160.0000.00721.94
8.1.150.0040.00418.86
8.1.140.0040.00419.51
8.1.130.0070.00017.64
8.1.120.0040.00417.27
8.1.110.0000.00817.32
8.1.100.0040.00417.36
8.1.90.0070.00017.29
8.1.80.0040.00417.44
8.1.70.0070.00017.36
8.1.60.0000.00817.60
8.1.50.0000.00917.41
8.1.40.0040.00417.51
8.1.30.0100.00017.70
8.1.20.0080.00017.54
8.1.10.0030.00517.51
8.1.00.0070.00017.52
8.0.300.0040.00420.14
8.0.290.0080.00016.63
8.0.280.0000.00718.41
8.0.270.0040.00417.20
8.0.260.0000.00617.07
8.0.250.0050.00316.88
8.0.240.0040.00416.86
8.0.230.0030.00316.93
8.0.220.0070.00016.81
8.0.210.0040.00416.87
8.0.200.0000.00716.98
8.0.190.0060.00316.82
8.0.180.0040.00416.91
8.0.170.0000.00716.95
8.0.160.0040.00316.88
8.0.150.0000.00816.75
8.0.140.0050.00316.84
8.0.130.0060.00013.35
8.0.120.0040.00416.88
8.0.110.0040.00416.89
8.0.100.0050.00316.77
8.0.90.0040.00416.89
8.0.80.0070.01016.85
8.0.70.0040.00416.87
8.0.60.0070.00016.92
8.0.50.0000.00716.75
8.0.30.0080.01217.22
8.0.20.0100.00917.40
8.0.10.0030.00517.06
8.0.00.0080.00916.78
7.4.330.0060.00015.08
7.4.320.0000.00816.51
7.4.300.0030.00316.64
7.4.290.0000.00816.50
7.4.280.0070.00016.42
7.4.270.0000.00716.57
7.4.260.0000.00716.63
7.4.250.0050.00316.52
7.4.240.0020.00516.63
7.4.230.0000.00716.50
7.4.220.0090.00916.63
7.4.210.0030.01216.63
7.4.200.0070.00016.54
7.4.160.0040.01116.52
7.4.150.0090.00917.40
7.4.140.0120.01317.86
7.4.130.0110.00816.64
7.4.120.0110.00716.40
7.4.110.0110.00816.64
7.4.100.0090.01216.55
7.4.90.0060.01216.63
7.4.80.0050.01119.39
7.4.70.0100.00816.46
7.4.60.0060.00916.34
7.4.50.0040.00416.24
7.4.40.0070.01116.54
7.4.30.0090.00916.29
7.4.00.0000.01615.29
7.3.330.0060.00013.39
7.3.320.0000.00513.30
7.3.310.0000.00716.19
7.3.300.0030.00316.42
7.3.290.0090.00516.35
7.3.280.0080.00916.37
7.3.270.0110.01117.40
7.3.260.0110.00516.35
7.3.240.0080.01016.44
7.3.230.0100.00616.54
7.3.210.0100.00616.27
7.3.200.0100.00616.30
7.3.190.0140.00916.32
7.3.180.0190.00016.48
7.3.170.0100.00716.51
7.3.160.0060.00916.39
7.3.10.0100.00816.22
7.3.00.0080.00616.42
7.2.330.0100.01016.55
7.2.320.0130.00416.66
7.2.310.0090.00916.32
7.2.300.0060.01016.32
7.2.290.0140.00716.35
7.2.130.0110.00716.57
7.2.120.0080.00316.45
7.2.110.0070.00716.62
7.2.100.0110.00716.70
7.2.90.0050.00516.73
7.2.80.0080.00716.58
7.2.70.0040.01116.77
7.2.60.0060.00716.45
7.2.50.0120.00416.63
7.2.40.0090.00916.68
7.2.30.0080.01116.66
7.2.20.0100.00716.70
7.2.10.0090.00616.76
7.2.00.0030.01017.61
7.1.250.0090.00515.16
7.1.200.0070.00715.74
7.1.100.0040.00717.88
7.1.70.0070.00716.72
7.1.60.0040.02119.13
7.1.50.0060.01616.82
7.1.00.0070.07322.33
7.0.200.1300.00314.30
7.0.60.0070.05019.91
7.0.50.0100.03717.87
7.0.40.0070.08320.26
7.0.30.0370.07020.23
7.0.20.0270.06320.23
7.0.10.0330.04720.02
7.0.00.0070.07720.24
5.6.280.0100.06720.90
5.6.210.0070.08020.48
5.6.200.0070.06318.29
5.6.190.0000.08320.64
5.6.180.0030.08020.63
5.6.170.0230.07320.52
5.6.160.0030.08020.39
5.6.150.0030.04018.12
5.6.140.0070.04018.14
5.6.130.0070.04718.19
5.6.120.0100.07721.14
5.6.110.0130.03720.96
5.6.100.0100.06020.99
5.6.90.0030.08721.00
5.6.80.0070.03720.38
5.6.70.0270.07320.36
5.5.350.0030.08020.47
5.5.340.0000.04717.98
5.5.330.0070.04020.19
5.5.320.0070.08020.51
5.5.310.0270.08020.23
5.5.300.0070.08017.95
5.5.290.0100.03718.07
5.5.280.0000.05720.73
5.5.270.0070.03720.87
5.5.260.0070.03720.80
5.5.250.0170.07720.68
5.5.240.0100.05720.05
5.4.450.0670.05319.55
5.4.440.0770.05319.56
5.4.430.0730.05719.16
5.4.420.0770.06319.51
5.4.410.0770.05019.30
5.4.400.0670.05319.02
5.4.390.0770.05319.02
5.4.380.0500.06019.19
5.4.370.0600.05719.11
5.4.360.0670.06019.30
5.4.350.0630.06019.19
5.4.340.0530.05719.02
5.4.320.0530.05319.20
5.4.310.0770.06718.87
5.4.300.0730.05719.25
5.4.290.0930.03719.30
5.4.280.0600.06019.19
5.4.270.0770.05718.98
5.4.260.0770.06019.14
5.4.250.0600.05319.14
5.4.240.0770.04319.21
5.4.230.0700.05319.14
5.4.220.0770.05318.84
5.4.210.0630.06019.00
5.4.200.0870.04019.00
5.4.190.0670.05719.18
5.4.180.0770.05319.18
5.4.170.0800.05719.13
5.4.160.0730.05719.10
5.4.150.0930.07019.19
5.4.140.0800.04316.49
5.4.130.0670.04716.45
5.4.120.0630.06016.59
5.4.110.0900.05316.50
5.4.100.0600.04716.57
5.4.90.0700.05016.63
5.4.80.0770.05716.61
5.4.70.0630.07316.55
5.4.60.0600.07716.61
5.4.50.0670.07016.41
5.4.40.0770.06716.64
5.4.30.0600.08016.59
5.4.20.0770.06716.25
5.4.10.0700.06716.58
5.4.00.0800.06715.88

preferences:
68.62 ms | 401 KiB | 5 Q