3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function test($foo = null) {} } class Bar extends Foo { public function test($foo) {} }

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.40.0180.00318.67
8.3.30.0070.00718.77
8.3.20.0050.00320.29
8.3.10.0120.00623.55
8.3.00.0050.00319.13
8.2.170.0160.00322.96
8.2.160.0140.00720.39
8.2.150.0160.00324.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0030.00717.50
8.2.110.0090.00021.18
8.2.100.0040.00717.66
8.2.90.0000.01117.84
8.2.80.0040.00417.97
8.2.70.0000.00817.38
8.2.60.0080.00317.50
8.2.50.0000.00917.38
8.2.40.0050.00517.63
8.2.30.0000.00720.62
8.2.20.0040.00417.43
8.2.10.0080.00017.96
8.2.00.0040.00417.98
8.1.270.0170.00323.79
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0000.00919.36
8.1.230.0090.00320.67
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0000.00917.00
8.1.190.0000.01017.10
8.1.180.0050.00318.10
8.1.170.0090.00018.26
8.1.160.0040.00421.88
8.1.150.0040.00418.80
8.1.140.0000.00819.49
8.1.130.0000.00819.10
8.1.120.0000.00717.22
8.1.110.0080.00017.34
8.1.100.0070.00017.30
8.1.90.0080.00017.19
8.1.80.0040.00417.20
8.1.70.0000.00717.38
8.1.60.0060.00317.37
8.1.50.0000.00917.42
8.1.40.0040.00417.34
8.1.30.0000.00817.39
8.1.20.0020.00517.45
8.1.10.0040.00417.32
8.1.00.0040.00417.36
8.0.300.0080.00019.86
8.0.290.0070.00016.63
8.0.280.0030.00318.27
8.0.270.0030.00317.19
8.0.260.0000.00716.76
8.0.250.0030.00516.90
8.0.240.0030.00616.72
8.0.230.0030.00616.79
8.0.220.0030.00316.86
8.0.210.0030.00316.73
8.0.200.0030.00316.88
8.0.190.0070.00316.94
8.0.180.0050.00216.74
8.0.170.0040.00416.83
8.0.160.0050.00316.90
8.0.150.0050.00216.70
8.0.140.0000.00816.75
8.0.130.0000.00513.19
8.0.120.0050.00316.63
8.0.110.0000.00716.83
8.0.100.0040.00416.70
8.0.90.0000.00716.78
8.0.80.0040.01216.88
8.0.70.0000.00716.94
8.0.60.0040.00416.68
8.0.50.0030.00516.65
8.0.30.0110.00716.91
8.0.20.0090.01017.40
8.0.10.0040.00416.75
8.0.00.0100.01016.71
7.4.330.0000.00515.08
7.4.320.0030.00316.38
7.4.300.0080.00016.35
7.4.290.0030.00316.38
7.4.280.0030.00316.37
7.4.270.0000.00616.52
7.4.260.0030.00316.45
7.4.250.0080.00016.44
7.4.240.0040.00316.43
7.4.230.0030.00316.31
7.4.220.0150.00316.43
7.4.210.0060.00916.48
7.4.200.0030.00316.48
7.4.160.0120.00416.63
7.4.150.0160.00317.40
7.4.140.0150.00917.86
7.4.130.0030.01416.40
7.4.120.0090.00716.39
7.4.110.0090.00916.45
7.4.100.0100.00716.34
7.4.90.0170.00016.51
7.4.80.0100.01319.39
7.4.70.0110.00716.33
7.4.60.0030.01516.43
7.4.50.0040.00416.17
7.4.40.0000.01616.44
7.4.30.0070.01816.48
7.4.00.0060.00314.53
7.3.330.0020.00213.25
7.3.320.0060.00013.24
7.3.310.0030.00316.13
7.3.300.0030.00316.25
7.3.290.0100.00616.25
7.3.280.0100.00816.21
7.3.270.0200.00717.40
7.3.260.0100.00616.34
7.3.250.0100.00816.21
7.3.240.0140.00516.23
7.3.230.0090.00816.39
7.3.210.0060.01016.45
7.3.200.0070.01016.31
7.3.190.0090.00616.26
7.3.180.0070.00716.22
7.3.170.0160.00316.42
7.3.160.0030.01316.25
7.2.330.0150.00416.34
7.2.320.0100.00616.25
7.2.310.0070.01016.47
7.2.300.0080.00816.25
7.2.290.0170.00416.62
7.2.60.0090.00616.50
7.2.00.0000.01319.14
7.1.200.0040.00715.33
7.1.100.1100.00616.16
7.1.70.0000.00717.05
7.1.60.0040.02219.43
7.1.50.0040.00816.70
7.1.00.0100.07022.51
7.0.200.0180.00614.47
7.0.100.0070.07719.99
7.0.90.0100.08319.99
7.0.80.0100.07719.89
7.0.70.0130.07719.85
7.0.60.0030.08719.92
7.0.50.0130.07720.27
7.0.40.0030.08320.10
7.0.30.0030.07320.09
7.0.20.0070.05019.96
7.0.10.0030.08720.03
7.0.00.0130.08020.18
5.6.280.0070.06721.10
5.6.250.0100.04020.64
5.6.240.0070.08020.64
5.6.230.0070.08020.51
5.6.220.0000.07320.54
5.6.210.0100.06020.50
5.6.200.0030.05320.96
5.6.190.0170.07721.05
5.6.180.0000.08721.08
5.6.170.0030.07321.02
5.6.160.0100.08721.03
5.6.150.0100.07320.94
5.6.140.0130.04320.89
5.6.130.0200.04321.14
5.6.120.0170.07021.04
5.6.110.0070.08721.10
5.6.100.0130.07721.03
5.6.90.0070.05321.01
5.6.80.0100.08020.48
5.6.70.0070.07320.40
5.6.60.0070.07720.43
5.6.50.0270.05020.45
5.6.40.0100.07720.39
5.6.30.0170.06320.53
5.6.20.0200.06720.49
5.6.10.0100.06320.35
5.6.00.0170.06320.38
5.5.380.0100.08020.43
5.5.370.0100.08020.46
5.5.360.0100.08020.41
5.5.350.0170.07320.34
5.5.340.0070.08020.89
5.5.330.0070.07720.91
5.5.320.0130.07320.79
5.5.310.0000.09020.78
5.5.300.0030.08320.78
5.5.290.0100.07720.77
5.5.280.0100.08020.75
5.5.270.0200.06320.88
5.5.260.0170.07720.77
5.5.250.0030.08720.61
5.5.240.0030.07020.21
5.5.230.0070.07720.30
5.5.220.0070.04020.30
5.5.210.0100.04020.11
5.5.200.0170.06320.22
5.5.190.0100.06720.24
5.5.180.0070.08020.28
5.5.160.0130.07020.25
5.5.150.0100.07320.26
5.5.140.0130.07320.27
5.5.130.0130.07720.11
5.5.120.0000.06720.12
5.5.110.0130.06320.20
5.5.100.0170.07320.07
5.5.90.0100.07020.15
5.5.80.0100.07020.01
5.5.70.0100.08020.11
5.5.60.0100.07720.06
5.5.50.0030.07320.06
5.5.40.0030.07720.16
5.5.30.0100.08020.09
5.5.20.0130.07319.91
5.5.10.0100.04320.14
5.5.00.0030.07020.04
5.4.450.0030.07319.37
5.4.440.0100.08019.36
5.4.430.0170.06719.48
5.4.420.0030.07319.36
5.4.410.0100.07319.05
5.4.400.0100.07319.23
5.4.390.0070.07019.13
5.4.380.0100.06719.18
5.4.370.0070.04318.97
5.4.360.0100.06319.17
5.4.350.0130.07018.85
5.4.340.0130.07019.09
5.4.320.0070.08019.17
5.4.310.0130.07019.03
5.4.300.0070.06319.04
5.4.290.0100.07719.14
5.4.280.0130.07319.05
5.4.270.0130.07019.16
5.4.260.0130.06718.88
5.4.250.0230.05718.89
5.4.240.0100.07719.05
5.4.230.0130.06018.90
5.4.220.0030.08718.91
5.4.210.0000.05019.18
5.4.200.0100.07719.02
5.4.190.0170.07019.25
5.4.180.0030.07018.84
5.4.170.0100.07719.23
5.4.160.0130.07018.86
5.4.150.0100.06019.02
5.4.140.0030.06716.47
5.4.130.0100.03716.48
5.4.120.0030.03716.38
5.4.110.0070.04016.55
5.4.100.0100.04016.48
5.4.90.0130.05716.53
5.4.80.0100.07016.43
5.4.70.0070.07016.38
5.4.60.0000.06316.43
5.4.50.0070.04716.31
5.4.40.0000.08016.46
5.4.30.0100.06716.29
5.4.20.0030.07316.30
5.4.10.0030.07016.21
5.4.00.0070.06715.78

preferences:
39.24 ms | 400 KiB | 5 Q