3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_NOTICE | E_STRICT); class a { public function test($aArug) { echo $aArug; } } class b extends a { public function test($newName) { echo $newName; } } $b = new b(); $b->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.60.0040.01116.75
8.3.50.0100.01221.99
8.3.40.0070.00719.02
8.3.30.0110.00318.63
8.3.20.0000.00720.21
8.3.10.0000.00723.66
8.3.00.0040.00419.50
8.2.180.0130.00918.68
8.2.170.0040.01122.96
8.2.160.0140.00022.10
8.2.150.0120.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00017.63
8.2.110.0080.00422.13
8.2.100.0120.00017.80
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0050.00319.33
8.2.30.0030.00320.59
8.2.20.0030.00517.74
8.2.10.0030.00517.99
8.2.00.0000.00717.91
8.1.280.0070.01425.92
8.1.270.0040.00423.61
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0000.00822.59
8.1.230.0060.00617.78
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.25
8.1.190.0000.00817.00
8.1.180.0090.00018.10
8.1.170.0080.00019.03
8.1.160.0050.00221.94
8.1.150.0040.00418.82
8.1.140.0030.00519.45
8.1.130.0030.00317.63
8.1.120.0040.00417.41
8.1.110.0000.00717.25
8.1.100.0040.00417.38
8.1.90.0050.00317.41
8.1.80.0030.00417.39
8.1.70.0030.00317.40
8.1.60.0000.00817.45
8.1.50.0000.00917.50
8.1.40.0030.00517.52
8.1.30.0060.00617.69
8.1.20.0040.00417.64
8.1.10.0000.00917.46
8.1.00.0050.00517.48
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0070.00018.43
8.0.270.0030.00317.15
8.0.260.0060.00018.29
8.0.250.0080.00016.83
8.0.240.0000.00716.94
8.0.230.0000.00816.93
8.0.220.0030.00316.85
8.0.210.0060.00316.89
8.0.200.0030.00316.83
8.0.190.0000.00716.91
8.0.180.0050.00216.86
8.0.170.0070.00016.83
8.0.160.0070.00016.80
8.0.150.0000.00716.84
8.0.140.0040.00416.84
8.0.130.0070.00013.32
8.0.120.0080.00016.74
8.0.110.0000.00716.81
8.0.100.0030.00316.77
8.0.90.0000.00716.95
8.0.80.0120.00316.92
8.0.70.0050.00316.95
8.0.60.0040.00416.84
8.0.50.0030.00416.97
8.0.30.0070.01217.10
8.0.20.0090.01217.40
8.0.10.0070.00016.80
8.0.00.0080.01016.81
7.4.330.0030.00315.08
7.4.320.0060.00016.52
7.4.300.0040.00416.38
7.4.290.0000.00716.56
7.4.280.0000.00716.64
7.4.270.0040.00416.51
7.4.260.0050.00316.55
7.4.250.0070.00016.58
7.4.240.0030.00416.59
7.4.230.0000.00716.62
7.4.220.0070.01316.54
7.4.210.0070.00716.54
7.4.200.0000.00716.69
7.4.160.0060.00916.63
7.4.150.0080.00817.40
7.4.140.0120.00717.86
7.4.130.0120.01216.63
7.4.120.0080.00916.33
7.4.110.0130.00616.66
7.4.100.0180.00516.61
7.4.90.0060.01116.35
7.4.80.0070.01019.39
7.4.70.0130.00316.53
7.4.60.0070.01016.41
7.4.50.0000.00816.46
7.4.40.0110.01216.77
7.4.30.0070.01516.39
7.4.00.0030.01315.13
7.3.330.0070.00013.29
7.3.320.0050.00013.15
7.3.310.0030.00316.34
7.3.300.0070.00016.38
7.3.290.0090.00716.34
7.3.280.0060.01416.35
7.3.270.0140.00417.40
7.3.260.0040.01316.34
7.3.240.0070.01216.54
7.3.230.0030.01316.48
7.3.210.0070.01016.36
7.3.200.0040.01216.38
7.3.190.0090.00616.43
7.3.180.0100.00716.22
7.3.170.0090.00616.47
7.3.160.0050.01116.52
7.2.330.0110.00516.64
7.2.320.0070.01416.35
7.2.310.0090.00916.59
7.2.300.0040.02216.50
7.2.290.0070.01016.66
7.2.60.0070.00716.93
7.2.00.0030.01018.97
7.1.200.0090.00315.57
7.1.100.0100.00618.24
7.1.70.0070.00016.79
7.1.60.0070.01419.43
7.1.50.0090.00917.03
7.1.00.0000.07722.45
7.0.200.0130.01014.80
7.0.60.0070.06319.98
7.0.50.0170.04717.98
7.0.40.0000.08320.20
7.0.30.0070.07720.32
7.0.20.0370.07020.15
7.0.10.0070.04020.26
7.0.00.0070.06720.20
5.6.280.0070.07020.83
5.6.210.0130.07020.55
5.6.200.0000.09318.27
5.6.190.0070.04720.59
5.6.180.0230.04320.50
5.6.170.0300.07720.62
5.6.160.0030.08720.44
5.6.150.0030.08318.29
5.6.140.0070.04018.20
5.6.130.0030.04718.18
5.6.120.0000.04321.00
5.6.110.0070.04021.11
5.6.100.0100.07721.03
5.6.90.0030.04320.96
5.6.80.0100.08320.38
5.5.350.0370.06720.31
5.5.340.0130.07718.08
5.5.330.0100.04720.27
5.5.320.0300.04720.36
5.5.310.0130.05020.38
5.5.300.0070.07717.95
5.5.290.0000.06318.06
5.5.280.0170.08320.74
5.5.270.0030.08020.96
5.5.260.0100.08320.84
5.5.250.0130.06720.70
5.5.240.0030.06320.35
5.4.450.0170.05319.53
5.4.440.0170.05319.14
5.4.430.0100.06019.46
5.4.420.0130.05719.18
5.4.410.0170.05319.02
5.4.400.0170.05019.15
5.4.390.0170.05319.23
5.4.380.0130.05319.14
5.4.370.0130.05318.86
5.4.360.0200.05019.27
5.4.350.0130.06018.86
5.4.340.0200.04719.04
5.4.320.0130.05719.16
5.4.310.0130.05319.25
5.4.300.0170.05019.35
5.4.290.0170.05019.01
5.4.280.0230.04718.85
5.4.270.0200.05019.14
5.4.260.0170.05318.82
5.4.250.0170.05319.14
5.4.240.0130.05318.99
5.4.230.0230.04718.99
5.4.220.0300.04019.14
5.4.210.0130.05719.13
5.4.200.0170.05019.16
5.4.190.0230.06719.35
5.4.180.0130.07319.17
5.4.170.0170.05319.23
5.4.160.0100.05318.77
5.4.150.0270.06019.10
5.4.140.0130.05016.57
5.4.130.0130.05316.61
5.4.120.0130.05316.77
5.4.110.0130.05716.49
5.4.100.0100.06016.31
5.4.90.0130.05016.48
5.4.80.0100.06016.27
5.4.70.0230.04316.30
5.4.60.0270.04016.58
5.4.50.0170.04716.36
5.4.40.0330.05016.53
5.4.30.0130.05016.57
5.4.20.0170.05016.57
5.4.10.0230.04316.57
5.4.00.0170.04716.17

preferences:
44.3 ms | 401 KiB | 5 Q