3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { function bar($foo); } class Qux implements Foo { public function bar(Qux $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.0070.00718.81
8.3.30.0150.00018.52
8.3.20.0070.00020.39
8.3.10.0040.00421.59
8.3.00.0080.00023.48
8.2.170.0070.00722.96
8.2.160.0080.00620.36
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00419.77
8.2.120.0040.00426.35
8.2.110.0030.00622.29
8.2.100.0060.00618.04
8.2.90.0040.00419.09
8.2.80.0000.00818.04
8.2.70.0040.00417.50
8.2.60.0000.00817.93
8.2.50.0080.00018.07
8.2.40.0040.00422.20
8.2.30.0040.00419.37
8.2.20.0040.00417.61
8.2.10.0030.00617.90
8.2.00.0020.00518.01
8.1.270.0060.00323.66
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0030.00622.33
8.1.230.0070.00419.09
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0000.00818.51
8.1.160.0040.00420.70
8.1.150.0000.00718.88
8.1.140.0030.00619.61
8.1.130.0070.00017.54
8.1.120.0050.00217.40
8.1.110.0000.00717.42
8.1.100.0070.00017.44
8.1.90.0040.00417.29
8.1.80.0070.00317.33
8.1.70.0040.00417.29
8.1.60.0040.00417.48
8.1.50.0030.00517.48
8.1.40.0040.00417.34
8.1.30.0040.00417.58
8.1.20.0040.00417.59
8.1.10.0030.00617.36
8.1.00.0060.00317.26
8.0.300.0030.00518.77
8.0.290.0000.00716.75
8.0.280.0040.00418.29
8.0.270.0030.00317.06
8.0.260.0030.00317.18
8.0.250.0040.00416.98
8.0.240.0030.00316.84
8.0.230.0030.00316.97
8.0.220.0040.00416.78
8.0.210.0040.00416.90
8.0.200.0030.00316.85
8.0.190.0030.00716.99
8.0.180.0000.00716.95
8.0.170.0090.00016.92
8.0.160.0070.00016.96
8.0.150.0040.00416.71
8.0.140.0000.00716.87
8.0.130.0030.00313.24
8.0.120.0040.00416.75
8.0.110.0040.00416.79
8.0.100.0000.00716.77
8.0.90.0040.00416.70
8.0.80.0030.01216.82
8.0.70.0040.00416.89
8.0.60.0070.00016.88
8.0.50.0000.00716.76
8.0.30.0110.00617.14
8.0.20.0090.01417.40
8.0.10.0050.00317.05
8.0.00.0090.01116.78
7.4.330.0000.00516.85
7.4.320.0060.00016.46
7.4.300.0000.00716.54
7.4.290.0000.00716.58
7.4.280.0060.00316.44
7.4.270.0040.00416.42
7.4.260.0080.00016.47
7.4.250.0000.00816.46
7.4.240.0010.00616.49
7.4.230.0000.00716.34
7.4.220.0160.01016.55
7.4.210.0090.00616.54
7.4.200.0030.00316.59
7.4.160.0090.00616.44
7.4.150.0040.01317.40
7.4.140.0090.00817.86
7.4.130.0120.00516.43
7.4.120.0090.00816.52
7.4.110.0080.01216.39
7.4.100.0030.01316.35
7.4.90.0070.01016.51
7.4.80.0130.00419.39
7.4.70.0170.00016.28
7.4.60.0070.01016.34
7.4.50.0040.01116.35
7.4.40.0090.01316.42
7.4.30.0130.00916.51
7.4.00.0090.00614.86
7.3.330.0020.00213.07
7.3.320.0030.00313.09
7.3.310.0030.00316.13
7.3.300.0000.00716.24
7.3.290.0110.00616.24
7.3.280.0060.01016.23
7.3.270.0150.00317.40
7.3.260.0120.00616.37
7.3.250.0060.01416.34
7.3.240.0120.01016.39
7.3.230.0120.00916.39
7.3.210.0140.00416.32
7.3.200.0180.00319.39
7.3.190.0090.00916.45
7.3.180.0070.01016.39
7.3.170.0030.01216.54
7.3.160.0110.00716.31
7.3.10.0070.00716.54
7.3.00.0090.00016.73
7.2.330.0100.00716.58
7.2.320.0100.00616.46
7.2.310.0060.00916.62
7.2.300.0100.00716.31
7.2.290.0090.00816.48
7.2.130.0030.00716.64
7.2.120.0090.00316.66
7.2.110.0000.01216.54
7.2.100.0030.00716.85
7.2.90.0030.01016.61
7.2.80.0090.00416.60
7.2.70.0060.00616.55
7.2.60.0090.00216.78
7.2.50.0040.01516.97
7.2.40.0060.00616.51
7.2.30.0070.00716.47
7.2.20.0040.01116.68
7.2.10.0030.00716.65
7.2.00.0050.00917.86
7.1.250.0000.00915.45
7.1.200.0100.00315.58
7.1.100.0070.00717.92
7.1.70.0000.01416.89
7.1.60.0040.02119.27
7.1.50.0000.01116.91
7.1.00.0030.09022.51
7.0.200.1700.00316.63
7.0.60.0170.06021.72
7.0.50.0070.04017.73
7.0.40.0100.08319.96
7.0.30.0230.08020.25
7.0.20.0330.06020.12
7.0.10.0100.08320.33
7.0.00.0130.07720.34
5.6.280.0030.03320.89
5.6.210.0170.07020.74
5.6.200.0270.05318.16
5.6.190.0130.03720.42
5.6.180.0370.03020.50
5.6.170.0170.04020.47
5.6.160.0100.08020.61
5.6.150.0030.08718.14
5.6.140.0130.06018.28
5.6.130.0100.06718.17
5.6.120.0030.07021.02
5.6.110.0070.08021.14
5.6.100.0070.08021.01
5.6.90.0170.07321.10
5.6.80.0100.07720.41
5.5.350.0070.08020.36
5.5.340.0100.07317.95
5.5.330.0100.07720.27
5.5.320.0330.05320.38
5.5.310.0300.07320.24
5.5.300.0070.08017.94
5.5.290.0030.05318.02
5.5.280.0130.03320.80
5.5.270.0000.06020.88
5.5.260.0030.08720.77
5.5.250.0100.05320.58
5.5.240.0130.08320.26

preferences:
50.32 ms | 400 KiB | 5 Q