3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function bar($baz = null, $tab = null); } class Bar implements Foo { public function bar($baz = null) { } }

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.0160.00618.55
8.3.50.0120.00318.05
8.3.40.0140.00018.90
8.3.30.0150.00318.65
8.3.20.0070.00020.33
8.3.10.0040.00420.36
8.3.00.0070.00021.67
8.2.180.0180.00416.63
8.2.170.0100.01022.96
8.2.160.0100.00319.34
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.99
8.2.120.0040.00426.35
8.2.110.0040.00422.20
8.2.100.0110.00017.72
8.2.90.0030.00518.22
8.2.80.0080.00017.97
8.2.70.0050.00517.49
8.2.60.0040.00417.68
8.2.50.0050.00318.09
8.2.40.0040.00420.54
8.2.30.0000.00719.29
8.2.20.0040.00417.72
8.2.10.0000.00718.03
8.2.00.0040.00417.98
8.1.280.0090.00625.92
8.1.270.0040.00421.89
8.1.260.0050.00228.09
8.1.250.0080.00028.09
8.1.240.0060.00323.97
8.1.230.0070.00420.99
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0100.00017.35
8.1.190.0000.00817.10
8.1.180.0030.00518.10
8.1.170.0060.00318.71
8.1.160.0040.00420.73
8.1.150.0080.00020.54
8.1.140.0000.00919.50
8.1.130.0000.00717.54
8.1.120.0070.00017.40
8.1.110.0000.00717.34
8.1.100.0050.00517.34
8.1.90.0080.00017.36
8.1.80.0020.00517.40
8.1.70.0000.00717.45
8.1.60.0000.00717.49
8.1.50.0030.00617.45
8.1.40.0000.00817.39
8.1.30.0000.00817.62
8.1.20.0000.00717.41
8.1.10.0050.00317.39
8.1.00.0040.00417.38
8.0.300.0040.00420.06
8.0.290.0000.00716.63
8.0.280.0070.00018.42
8.0.270.0030.00317.23
8.0.260.0000.00617.06
8.0.250.0030.00316.84
8.0.240.0080.00017.01
8.0.230.0000.00616.95
8.0.220.0040.00416.75
8.0.210.0030.00316.89
8.0.200.0040.00416.83
8.0.190.0000.00716.87
8.0.180.0040.00416.88
8.0.170.0080.00016.86
8.0.160.0000.00716.98
8.0.150.0070.00016.83
8.0.140.0080.00016.91
8.0.130.0000.00613.39
8.0.120.0040.00416.85
8.0.110.0030.00316.88
8.0.100.0050.00316.90
8.0.90.0070.00016.90
8.0.80.0120.00916.79
8.0.70.0050.00316.70
8.0.60.0000.00716.80
8.0.50.0050.00216.79
8.0.30.0080.00917.03
8.0.20.0130.00617.40
8.0.10.0000.00716.84
8.0.00.0090.01016.75
7.4.330.0000.00516.71
7.4.320.0000.00616.45
7.4.300.0000.00616.29
7.4.290.0100.00016.43
7.4.280.0040.00416.45
7.4.270.0000.01016.48
7.4.260.0090.00016.43
7.4.250.0030.00516.39
7.4.240.0000.00716.54
7.4.230.0000.00716.60
7.4.220.0120.00616.40
7.4.210.0000.01516.57
7.4.200.0000.00716.60
7.4.160.0070.00716.16
7.4.150.0070.01117.40
7.4.140.0090.01017.86
7.4.130.0080.01016.55
7.4.120.0090.00816.61
7.4.110.0060.01216.39
7.4.100.0160.00416.24
7.4.90.0070.01616.38
7.4.80.0120.00919.39
7.4.70.0060.01116.42
7.4.60.0090.00916.45
7.4.50.0040.01116.53
7.4.40.0160.00616.50
7.4.30.0060.01616.36
7.4.00.0030.00815.08
7.3.330.0000.00513.05
7.3.320.0000.00513.10
7.3.310.0030.00316.39
7.3.300.0030.00316.23
7.3.290.0090.01116.25
7.3.280.0090.00916.23
7.3.270.0130.00317.40
7.3.260.0130.00416.27
7.3.250.0140.00716.35
7.3.240.0100.00716.33
7.3.230.0130.01016.39
7.3.210.0090.00616.43
7.3.200.0000.01616.29
7.3.190.0090.00616.29
7.3.180.0140.00716.36
7.3.170.0110.00616.17
7.3.160.0060.00916.18
7.2.330.0140.00316.37
7.2.320.0000.01716.36
7.2.310.0060.00916.33
7.2.300.0120.00616.31
7.2.290.0060.01516.43
7.2.60.0030.01016.60
7.2.00.0000.01519.31
7.1.200.0120.00315.66
7.1.100.0000.01018.13
7.1.70.0090.00516.51
7.1.60.0100.01419.19
7.1.50.0080.00516.83
7.1.00.0000.07722.31
7.0.200.0490.01014.32
7.0.60.0200.06721.81
7.0.50.0100.07717.86
7.0.40.0030.06719.96
7.0.30.0370.06020.19
7.0.20.0400.07720.05
7.0.10.0030.06020.24
7.0.00.0070.06320.22
5.6.280.0070.04720.79
5.6.210.0070.07320.75
5.6.200.0030.08318.29
5.6.190.0070.08320.64
5.6.180.0330.07720.50
5.6.170.0200.04320.45
5.6.160.0070.05720.71
5.6.150.0100.08018.17
5.6.140.0070.07718.18
5.6.130.0000.04718.28
5.6.120.0030.07721.04
5.6.110.0100.04320.98
5.6.100.0030.04321.04
5.6.90.0100.08021.10
5.6.80.0070.07720.47
5.5.350.0270.08020.34
5.5.340.0130.07018.09
5.5.330.0170.03320.18
5.5.320.0230.08020.27
5.5.310.0370.04720.25
5.5.300.0070.06018.07
5.5.290.0070.07318.07
5.5.280.0070.08320.77
5.5.270.0100.05020.89
5.5.260.0070.04320.86
5.5.250.0030.09020.62
5.5.240.0130.06720.35

preferences:
63.99 ms | 401 KiB | 5 Q