3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class main { function __construct() { } public function test() { } abstract function childmethod(); } class child extends main { function __construct() { } function childmethod() { return "test"; } } $main = new main(); $main->childmethod(); $main->test();

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.0070.01118.43
8.3.60.0120.00418.55
8.3.50.0080.01222.05
8.3.40.0120.00318.80
8.3.30.0040.01118.70
8.3.20.0040.00420.29
8.3.10.0040.00421.73
8.3.00.0040.00419.38
8.2.190.0090.01216.63
8.2.180.0120.00618.54
8.2.170.0000.01522.96
8.2.160.0110.00720.35
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0050.00317.63
8.2.120.0050.00326.35
8.2.110.0050.00520.35
8.2.100.0040.00818.04
8.2.90.0050.00319.17
8.2.80.0030.00517.97
8.2.70.0030.00617.38
8.2.60.0040.00417.68
8.2.50.0080.00018.07
8.2.40.0110.00019.28
8.2.30.0070.00020.50
8.2.20.0030.00617.76
8.2.10.0000.00717.82
8.2.00.0000.00717.87
8.1.280.0100.01025.92
8.1.270.0030.00523.79
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00023.98
8.1.230.0040.00817.66
8.1.220.0040.00417.74
8.1.210.0100.00018.77
8.1.200.0060.00317.10
8.1.190.0040.00816.88
8.1.180.0000.00818.10
8.1.170.0000.00818.49
8.1.160.0040.00421.93
8.1.150.0040.00418.76
8.1.140.0040.00419.32
8.1.130.0040.00417.45
8.1.120.0040.00417.17
8.1.110.0040.00417.32
8.1.100.0000.00717.25
8.1.90.0050.00317.22
8.1.80.0040.00417.15
8.1.70.0030.00317.37
8.1.60.0090.00017.46
8.1.50.0000.00817.46
8.1.40.0030.00517.45
8.1.30.0080.00017.49
8.1.20.0000.00717.55
8.1.10.0020.00517.38
8.1.00.0000.00717.34
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.45
8.0.270.0070.00317.07
8.0.260.0040.00417.11
8.0.250.0000.00816.89
8.0.240.0030.00516.86
8.0.230.0000.00716.84
8.0.220.0000.00816.80
8.0.210.0070.00016.80
8.0.200.0060.00016.82
8.0.190.0000.00816.96
8.0.180.0040.00416.95
8.0.170.0040.00416.89
8.0.160.0000.00716.87
8.0.150.0030.00316.77
8.0.140.0060.00316.69
8.0.130.0070.00013.39
8.0.120.0000.00816.86
8.0.110.0000.00816.88
8.0.100.0000.00716.72
8.0.90.0070.00016.93
8.0.80.0070.01016.83
8.0.70.0000.00716.84
8.0.60.0040.00416.74
8.0.50.0070.00016.92
8.0.30.0070.01217.04
8.0.20.0070.01117.40
8.0.10.0070.00016.95
8.0.00.0160.00116.69
7.4.330.0020.00216.67
7.4.320.0030.00316.49
7.4.300.0030.00316.55
7.4.290.0000.00716.36
7.4.280.0040.00416.45
7.4.270.0020.00516.46
7.4.260.0030.00316.42
7.4.250.0030.00316.55
7.4.240.0030.00316.48
7.4.230.0000.00716.54
7.4.220.0090.01516.57
7.4.210.0080.00916.51
7.4.200.0000.00716.42
7.4.160.0060.00916.32
7.4.150.0090.00917.40
7.4.140.0120.00817.86
7.4.130.0070.01116.35
7.4.120.0130.00616.60
7.4.110.0030.01716.46
7.4.100.0160.00916.42
7.4.90.0100.00716.32
7.4.80.0060.00919.39
7.4.70.0110.00816.39
7.4.60.0030.01316.50
7.4.50.0170.00016.40
7.4.40.0000.01616.51
7.4.30.0110.00516.57
7.4.00.0040.00814.95
7.3.330.0030.00413.23
7.3.320.0050.00013.22
7.3.310.0030.00316.27
7.3.300.0070.00016.16
7.3.290.0000.00816.25
7.3.280.0110.00516.29
7.3.270.0040.01217.40
7.3.260.0070.01116.29
7.3.250.0100.00716.24
7.3.240.0110.00616.44
7.3.230.0140.00616.40
7.3.210.0130.00316.22
7.3.200.0090.00616.48
7.3.190.0060.01016.25
7.3.180.0120.00816.56
7.3.170.0100.00616.49
7.3.160.0100.00716.47
7.2.330.0080.01116.43
7.2.320.0130.00716.39
7.2.310.0140.00316.64
7.2.300.0060.00916.50
7.2.290.0090.00916.43
7.2.60.0000.01416.50
7.2.50.0030.00916.66
7.1.200.0030.00915.58
7.1.70.0000.00717.02
7.1.60.0030.00717.14
7.1.50.0100.00316.71
7.1.40.0030.00716.71
7.1.30.0040.00716.74
7.1.20.0090.00416.71
7.1.10.0070.00016.71
7.1.00.0070.00416.71
7.0.200.0030.01316.71
7.0.190.0070.00016.71
7.0.180.0040.00416.71
7.0.170.0040.00416.71
7.0.160.0000.00716.71
7.0.150.0020.00516.71
7.0.140.0040.00716.71
7.0.130.0000.01216.71
7.0.120.0040.00416.71
7.0.110.0000.00716.71
7.0.100.0070.00316.71
7.0.90.0000.00816.71
7.0.80.0000.00816.71
7.0.70.0110.00416.71
7.0.60.0060.00316.71
7.0.50.0000.00716.71
7.0.40.0080.00016.71
7.0.30.0000.00916.71
7.0.20.0040.00416.71
7.0.10.0000.01016.71
7.0.00.0030.00616.71
5.6.300.0200.04020.92
5.6.290.0030.04020.79
5.6.280.0030.04520.87
5.6.270.0060.04421.07
5.6.260.0100.06321.07
5.6.250.0030.04420.89
5.6.240.0030.04920.93
5.6.230.0140.03120.96
5.6.220.0030.05320.87
5.6.210.0030.04520.97
5.6.200.0030.04920.95
5.6.190.0030.04320.82
5.6.180.0000.04620.97
5.6.170.0030.04320.84
5.6.160.0070.05020.84
5.6.150.0100.04120.77
5.6.140.0070.04620.93
5.6.130.0000.04820.84
5.6.120.0100.04320.86
5.6.110.0030.05520.66
5.6.100.0000.04520.68
5.6.90.0030.04820.87
5.6.80.0160.03120.17
5.6.70.0070.04620.24
5.6.60.0130.03820.23
5.6.50.0070.04120.38
5.6.40.0100.04219.96
5.6.30.0140.03520.08
5.6.20.0100.04519.95
5.6.10.0100.03720.22
5.6.00.0000.05219.94
5.5.380.0030.03817.52
5.5.370.0000.04917.67
5.5.360.0000.04617.52
5.5.350.0000.04517.61
5.5.340.0090.03817.84
5.5.330.0070.03618.14
5.5.320.0070.04118.06
5.5.310.0040.04918.09
5.5.300.0130.03318.08
5.5.290.0000.04618.00
5.5.280.0030.04918.09
5.5.270.0030.04617.79
5.5.260.0070.06917.80
5.5.250.0000.04817.91
5.5.240.0030.04817.38
5.5.230.0030.04517.22
5.5.220.0070.04117.37
5.5.210.0090.03617.43
5.5.200.0130.03016.97
5.5.190.0070.03717.20
5.5.180.0030.04317.38
5.5.160.0000.04517.45
5.5.150.0090.03717.19
5.5.140.0100.03317.45
5.5.130.0030.04717.40
5.5.120.0070.03617.40
5.5.110.0030.04116.96
5.5.100.0030.04417.18
5.5.90.0140.03517.18
5.5.80.0060.03917.30
5.5.70.0090.03617.18
5.5.60.0000.04417.25
5.5.50.0070.04117.30
5.5.40.0070.03717.29
5.5.30.0070.04117.00
5.5.20.0060.04017.08
5.5.10.0070.04417.23
5.5.00.0130.03216.85

preferences:
54.01 ms | 401 KiB | 5 Q