3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function a($x); } interface B { public function a($x, $y); } class AImpl implements A, B { public function a($x, $y) {} }

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.0130.00316.50
8.3.60.0120.00316.63
8.3.50.0130.00516.37
8.3.40.0090.00618.51
8.3.30.0050.01018.49
8.3.20.0040.00418.81
8.3.10.0040.00420.44
8.3.00.0080.00019.38
8.2.180.0150.00016.75
8.2.170.0070.00722.96
8.2.160.0070.00721.07
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00819.85
8.2.110.0030.00619.39
8.2.100.0040.00717.78
8.2.90.0000.00819.05
8.2.80.0080.00017.97
8.2.70.0090.00317.63
8.2.60.0030.00517.80
8.2.50.0040.00418.10
8.2.40.0030.00618.22
8.2.30.0070.00017.99
8.2.20.0030.00617.59
8.2.10.0000.00917.60
8.2.00.0080.00017.59
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0000.00919.59
8.1.230.0080.00317.64
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0040.00417.35
8.1.180.0030.00618.10
8.1.170.0000.00918.83
8.1.160.0000.00718.72
8.1.150.0040.00418.57
8.1.140.0040.00417.43
8.1.130.0040.00417.81
8.1.120.0060.00317.42
8.1.110.0040.00417.41
8.1.100.0000.00717.38
8.1.90.0040.00417.43
8.1.80.0040.00417.39
8.1.70.0050.00317.31
8.1.60.0000.00717.50
8.1.50.0030.00617.38
8.1.40.0000.00717.45
8.1.30.0040.00417.52
8.1.20.0100.00017.63
8.1.10.0040.00417.39
8.1.00.0000.00817.20
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.31
8.0.270.0000.00717.09
8.0.260.0030.00316.82
8.0.250.0040.00416.89
8.0.240.0000.01016.95
8.0.230.0050.00216.98
8.0.220.0070.00016.88
8.0.210.0000.00716.86
8.0.200.0020.00516.93
8.0.190.0000.00716.97
8.0.180.0040.00416.80
8.0.170.0070.00016.91
8.0.160.0040.00416.93
8.0.150.0040.00416.77
8.0.140.0060.00316.85
8.0.130.0000.00513.32
8.0.120.0000.00716.86
8.0.110.0040.00416.79
8.0.100.0030.00616.86
8.0.90.0000.00716.79
8.0.80.0060.00916.86
8.0.70.0000.00716.84
8.0.60.0000.00716.70
8.0.50.0070.00016.84
8.0.30.0150.01016.89
8.0.20.0100.00916.86
8.0.10.0060.00316.98
8.0.00.0150.00416.61
7.4.330.0050.00012.93
7.4.320.0030.00316.36
7.4.300.0060.00016.45
7.4.290.0000.00716.49
7.4.280.0030.00616.48
7.4.270.0030.00316.43
7.4.260.0060.00013.16
7.4.250.0030.00516.32
7.4.240.0030.00316.38
7.4.230.0030.00316.32
7.4.220.0060.01216.54
7.4.210.0080.00816.56
7.4.200.0000.00716.54
7.4.190.0000.00716.40
7.4.160.0060.00916.65
7.4.150.0090.00916.54
7.4.140.0100.00716.38
7.4.130.0090.00716.47
7.4.120.0090.00916.46
7.4.110.0060.01516.44
7.4.100.0070.01116.31
7.4.90.0140.00316.45
7.4.80.0140.00316.33
7.4.70.0140.00416.53
7.4.60.0100.01016.35
7.4.50.0000.00616.11
7.4.40.0150.00016.06
7.4.30.0080.00816.67
7.4.00.0060.00914.98
7.3.330.0000.00613.26
7.3.320.0030.00313.23
7.3.310.0070.00016.14
7.3.300.0040.00416.13
7.3.290.0060.00916.29
7.3.280.0070.00816.24
7.3.270.0140.01016.46
7.3.260.0090.00816.48
7.3.250.0050.01616.45
7.3.240.0100.00616.29
7.3.230.0100.00616.40
7.3.210.0140.00416.25
7.3.200.0090.00919.39
7.3.190.0090.01216.24
7.3.180.0120.00316.25
7.3.170.0090.00616.52
7.3.160.0160.00316.54
7.3.120.0030.01314.75
7.2.330.0000.01716.54
7.2.320.0030.01416.61
7.2.310.0040.01516.61
7.2.300.0100.00716.21
7.2.290.0030.01316.46
7.2.60.0100.00016.54
7.2.00.0040.01119.39
7.1.200.0030.01015.50
7.1.100.0030.01017.94
7.1.70.0040.00417.07
7.1.60.0070.01719.40
7.1.50.0130.00716.87
7.1.00.0000.07722.54
7.0.200.0220.00714.38
7.0.140.0000.07721.94
7.0.120.0030.07322.04
7.0.60.0070.08320.02
7.0.50.0070.04317.87
7.0.40.0100.06720.09
7.0.30.0530.07020.06
7.0.20.0170.05320.08
7.0.10.0100.05020.10
7.0.00.0100.08020.07
5.6.280.0000.07321.09
5.6.210.0000.06320.55
5.6.200.0070.08018.29
5.6.190.0100.08720.64
5.6.180.3330.04020.42
5.6.170.0270.04020.55
5.6.160.0100.08320.46
5.6.150.0130.03318.18
5.6.140.0000.04018.14
5.6.130.0100.03318.15
5.6.120.0100.06321.05
5.6.110.0100.07321.00
5.6.100.0030.05721.04
5.6.90.0100.07721.00
5.6.80.0100.08020.45
5.6.70.4170.03720.40
5.5.350.0270.07720.41
5.5.340.0200.07018.02
5.5.330.0030.04720.29
5.5.320.0330.08020.39
5.5.310.0330.07320.27
5.5.300.0130.03317.96
5.5.290.0070.08318.04
5.5.280.0100.07720.97
5.5.270.0170.06720.87
5.5.260.0030.04720.87
5.5.250.0100.07320.69
5.5.240.0170.08320.05
5.4.450.0070.08319.20
5.4.440.0030.08719.30
5.4.430.0070.05019.57
5.4.420.0200.06319.19
5.4.410.0070.03719.35
5.4.400.0000.04019.15
5.4.390.0000.04319.16
5.4.380.0000.04019.24
5.4.370.0030.03719.16
5.4.360.0030.03718.88
5.4.350.0030.03719.14
5.4.340.0030.04019.23
5.4.320.0000.04019.27
5.4.310.0070.03318.88
5.4.300.0000.04019.24
5.4.290.0000.04019.14
5.4.280.0030.03718.85
5.4.270.0070.05019.14
5.4.260.0000.04019.00
5.4.250.0070.03319.14
5.4.240.0130.02719.23
5.4.230.0030.04019.23
5.4.220.0070.03319.24
5.4.210.0030.03719.08
5.4.200.0000.04019.07
5.4.190.0030.03718.86
5.4.180.0100.03319.23
5.4.170.0070.04719.20
5.4.160.0070.03318.98
5.4.150.0030.04018.98
5.4.140.0100.03016.39
5.4.130.0100.06316.34
5.4.120.0030.03716.42
5.4.110.0100.05316.48
5.4.100.0030.04716.54
5.4.90.0070.03316.50
5.4.80.0130.07016.31
5.4.70.0030.07316.33
5.4.60.0030.05016.43
5.4.50.0130.07016.65
5.4.40.0130.05316.27
5.4.30.0030.04016.24
5.4.20.0100.07316.36
5.4.10.0130.07016.36
5.4.00.0030.07015.87
5.3.290.0200.02014.72
5.3.280.0000.04014.74
5.3.270.0030.04714.66
5.3.260.0070.03714.61
5.3.250.0100.03314.66
5.3.240.0070.06014.64
5.3.230.0070.07314.66
5.3.220.0070.05314.71
5.3.210.0030.04014.56
5.3.200.0030.05014.57
5.3.190.0070.07314.62
5.3.180.0000.04014.60
5.3.170.0030.03714.61
5.3.160.0000.06014.64
5.3.150.0030.08014.59
5.3.140.0100.06714.61
5.3.130.0130.04314.55
5.3.120.0000.05714.55
5.3.110.0100.05014.56
5.3.100.0030.07313.99
5.3.90.0100.07014.05
5.3.80.0030.07314.04
5.3.70.0100.06013.97
5.3.60.0030.07714.02
5.3.50.0130.06714.00
5.3.40.0030.07013.94
5.3.30.0030.07014.06
5.3.20.0030.04313.66
5.3.10.0100.03013.55
5.3.00.0030.04313.70
5.2.170.0030.06311.04
5.2.160.0000.05011.33
5.2.150.0000.04711.21
5.2.140.0030.04311.15
5.2.130.0030.03711.11
5.2.120.0000.03711.06
5.2.110.0030.04311.16
5.2.100.0030.05311.11
5.2.90.0070.03711.07
5.2.80.0000.04711.13
5.2.70.0070.06011.11
5.2.60.0000.04710.97
5.2.50.0070.02711.08
5.2.40.0100.02311.00
5.2.30.0070.02711.13
5.2.20.0000.03310.92
5.2.10.0000.06710.86
5.2.00.0030.06010.79
5.1.60.0100.0479.97
5.1.50.0030.0279.91
5.1.40.0000.02710.04
5.1.30.0000.03010.49
5.1.20.0030.06010.41
5.1.10.0100.05310.23
5.1.00.0100.05010.24
5.0.50.0030.0478.61
5.0.40.0030.0408.41
5.0.30.0070.0478.14
5.0.20.0000.0238.22
5.0.10.0030.0478.16
5.0.00.0030.0478.21
4.4.90.0000.0207.82
4.4.80.0000.0207.82
4.4.70.0000.0177.82
4.4.60.0000.0177.82
4.4.50.0000.0337.82
4.4.40.0030.0507.82
4.4.30.0030.0137.82
4.4.20.0000.0337.82
4.4.10.0000.0337.82
4.4.00.0030.0577.82
4.3.110.0000.0377.82
4.3.100.0170.0207.82
4.3.90.0030.0277.82
4.3.80.0000.0307.82
4.3.70.0000.0237.82
4.3.60.0000.0337.82
4.3.50.0000.0177.82
4.3.40.0030.0237.82
4.3.30.0030.0137.82
4.3.20.0000.0407.82
4.3.10.0000.0177.82
4.3.00.0000.0177.82

preferences:
40.48 ms | 401 KiB | 5 Q