3v4l.org

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

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.0150.00616.50
8.3.50.0170.00822.04
8.3.40.0110.00718.54
8.3.30.0090.00619.04
8.3.20.0070.00020.07
8.3.10.0080.00023.70
8.3.00.0080.00019.26
8.2.180.0150.00316.63
8.2.170.0090.00922.96
8.2.160.0070.00720.37
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0050.00322.16
8.2.110.0090.00022.23
8.2.100.0060.00617.72
8.2.90.0050.00319.07
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0080.00018.03
8.2.30.0030.00517.86
8.2.20.0040.00417.49
8.2.10.0000.00817.97
8.2.00.0000.00717.52
8.1.280.0060.01325.92
8.1.270.0060.00923.85
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.87
8.1.230.0000.01318.79
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0060.00317.11
8.1.190.0030.00517.41
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0070.00022.01
8.1.150.0040.00418.47
8.1.140.0000.00717.34
8.1.130.0070.00017.82
8.1.120.0050.00217.29
8.1.110.0000.00817.41
8.1.100.0050.00317.42
8.1.90.0000.00717.29
8.1.80.0070.00017.34
8.1.70.0000.00717.31
8.1.60.0080.00017.44
8.1.50.0040.00417.38
8.1.40.0000.00817.49
8.1.30.0040.00417.50
8.1.20.0000.00817.54
8.1.10.0000.00717.39
8.1.00.0000.00717.23
8.0.300.0070.00018.77
8.0.290.0040.00417.18
8.0.280.0000.00718.37
8.0.270.0000.00717.17
8.0.260.0060.00016.73
8.0.250.0000.00716.99
8.0.240.0040.00416.88
8.0.230.0000.00716.83
8.0.220.0030.00316.83
8.0.210.0000.00716.79
8.0.200.0060.00016.89
8.0.190.0050.00216.84
8.0.180.0030.00516.98
8.0.170.0050.00216.91
8.0.160.0050.00316.91
8.0.150.0070.00016.81
8.0.140.0030.00516.86
8.0.130.0060.00013.35
8.0.120.0000.00716.75
8.0.110.0030.00516.71
8.0.100.0040.00416.87
8.0.90.0000.00716.71
8.0.80.0030.01516.92
8.0.70.0030.00516.67
8.0.60.0050.00216.75
8.0.50.0040.00416.88
8.0.30.0100.00816.90
8.0.20.0080.01017.40
8.0.10.0050.00316.97
8.0.00.0120.00716.78
7.4.330.0050.00015.00
7.4.320.0000.00616.46
7.4.300.0070.00016.33
7.4.290.0070.00316.54
7.4.280.0030.00616.54
7.4.270.0030.00316.57
7.4.260.0000.00716.37
7.4.250.0080.00016.48
7.4.240.0040.00416.44
7.4.230.0000.00716.50
7.4.220.0070.01016.46
7.4.210.0100.01016.53
7.4.200.0030.00316.53
7.4.190.0030.00316.52
7.4.160.0070.01716.63
7.4.150.0110.00717.40
7.4.140.0070.01017.86
7.4.130.0090.00816.32
7.4.120.0110.00616.41
7.4.110.0100.01016.40
7.4.100.0080.00816.44
7.4.90.0110.00716.40
7.4.80.0090.00919.39
7.4.70.0000.01516.38
7.4.60.0060.01216.69
7.4.50.0080.00016.23
7.4.40.0040.01122.77
7.4.30.0130.00816.23
7.4.00.0040.01115.05
7.3.330.0050.00013.32
7.3.320.0000.00713.20
7.3.310.0060.00016.12
7.3.300.0060.00016.25
7.3.290.0030.01116.25
7.3.280.0080.01316.24
7.3.270.0040.01317.40
7.3.260.0090.00916.32
7.3.250.0120.00816.36
7.3.240.0060.01216.19
7.3.230.0090.00916.39
7.3.210.0130.00616.41
7.3.200.0090.00919.39
7.3.190.0130.00616.42
7.3.180.0080.00816.42
7.3.170.0110.00616.30
7.3.160.0090.00616.20
7.3.120.0170.00015.07
7.2.330.0150.00916.41
7.2.320.0080.00816.52
7.2.310.0120.01216.60
7.2.300.0120.00416.63
7.2.290.0110.01116.62
7.1.70.0000.00717.11
7.1.60.0140.01019.31
7.1.50.0110.01116.80
7.1.00.0030.07722.45
7.0.200.0030.00316.68
7.0.140.0070.06722.15
7.0.70.0030.06721.78
7.0.60.0130.06321.89
7.0.50.0070.09022.06
7.0.40.0100.05320.11
7.0.30.0070.06720.16
7.0.20.0070.06720.14
7.0.10.0030.05320.10
7.0.00.0000.05320.12
5.6.280.0030.07021.11
5.6.220.0030.06020.61
5.6.210.0070.08020.59
5.6.200.0070.08321.04
5.6.190.0100.07721.17
5.6.180.0070.08021.11
5.6.170.0130.03721.05
5.6.160.0070.09021.09
5.6.150.0070.08721.02
5.6.140.0070.08321.05
5.6.130.0070.06321.04
5.6.120.0030.07721.17
5.6.110.0030.05021.10
5.6.100.0070.08721.08
5.6.90.0030.09020.96
5.6.80.0030.06320.47
5.6.70.0070.03720.48
5.6.60.0030.08320.40
5.6.50.0030.06720.39
5.6.40.0100.05320.41
5.6.30.0200.05720.43
5.6.20.0070.07720.42
5.6.10.0030.06720.29
5.6.00.0030.06320.29
5.5.360.0070.07720.36
5.5.350.0030.08720.43
5.5.340.0030.08020.78
5.5.330.0100.07720.92
5.5.320.0070.08720.93
5.5.310.0030.06020.76
5.5.300.0130.03320.88
5.5.290.0070.07320.80
5.5.280.0100.08720.83
5.5.270.0000.08720.89
5.5.260.0100.08020.73
5.5.250.0100.07320.61
5.5.240.0100.04320.15
5.5.230.0100.06320.18
5.5.220.0130.04720.31
5.5.210.0070.07320.20
5.5.200.0070.06720.13
5.5.190.0100.04020.12
5.5.180.0130.07720.27
5.5.160.0130.07320.16
5.5.150.0030.07020.27
5.5.140.0100.05320.08
5.5.130.0100.05720.13
5.5.120.0200.07020.08
5.5.110.0030.09020.23
5.5.100.0030.07720.08
5.5.90.0070.07720.13
5.5.80.0070.07720.07
5.5.70.0070.05019.94
5.5.60.0070.07320.15
5.5.50.0130.07320.06
5.5.40.0070.07020.16
5.5.30.0030.08720.14
5.5.20.0000.09020.09
5.5.10.0100.08020.11
5.5.00.0070.08020.12
5.4.450.0070.08719.23
5.4.440.0100.06719.50
5.4.430.0070.04719.37
5.4.420.0000.06019.44
5.4.410.0070.07319.40
5.4.400.0100.07019.05
5.4.390.0000.05018.90
5.4.380.0170.06319.12
5.4.370.0070.07319.21
5.4.360.0030.04318.85
5.4.350.0070.05019.12
5.4.340.0070.05319.21
5.4.320.0070.03719.05
5.4.310.0070.07319.13
5.4.300.0000.08319.21
5.4.290.0030.07318.90
5.4.280.0030.07319.09
5.4.270.0000.08319.12
5.4.260.0070.07319.21
5.4.250.0030.05718.86
5.4.240.0100.04019.15
5.4.230.0000.04319.04
5.4.220.0100.07019.13
5.4.210.0000.08318.86
5.4.200.0070.07719.08
5.4.190.0030.07719.20
5.4.180.0070.08018.84
5.4.170.0000.08719.03
5.4.160.0070.06319.01
5.4.150.0030.08018.82
5.4.140.0000.07716.39
5.4.130.0070.05016.51
5.4.120.0030.06716.49
5.4.110.0100.03016.48
5.4.100.0070.07316.40
5.4.90.0030.07316.34
5.4.80.0000.05016.43
5.4.70.0030.03316.47
5.4.60.0000.03716.47
5.4.50.0070.06716.48
5.4.40.0070.06316.46
5.4.30.0070.07016.30
5.4.20.0100.03316.36
5.4.10.0030.05016.26
5.4.00.0070.06315.89
5.3.290.0030.06314.64
5.3.280.0030.05014.65
5.3.270.0100.07014.53
5.3.260.0100.07714.63
5.3.250.0000.07014.55
5.3.240.0170.06714.70
5.3.230.0100.04014.61
5.3.220.0100.05314.57
5.3.210.0000.04314.64
5.3.200.0030.08714.63
5.3.190.0000.06714.54
5.3.180.0100.06014.63
5.3.170.0030.04014.54
5.3.160.0030.08014.54
5.3.150.0100.07014.58
5.3.140.0070.08014.61
5.3.130.0030.07314.66
5.3.120.0000.05314.66
5.3.110.0100.03314.48
5.3.100.0000.04013.96
5.3.90.0070.05714.05
5.3.80.0030.07714.01
5.3.70.0070.03713.92
5.3.60.0000.06013.93
5.3.50.0070.03713.98
5.3.40.0030.03713.89
5.3.30.0030.05314.03
5.3.20.0030.06713.72
5.3.10.0070.07013.67
5.3.00.0000.05013.56
5.2.170.0000.03012.22
5.2.160.0000.03312.22
5.2.150.0000.05012.22
5.2.140.0030.03012.22
5.2.130.0030.02712.22
5.2.120.0070.04312.22
5.2.110.0000.06712.22
5.2.100.0070.02712.22
5.2.90.0000.04312.22
5.2.80.0100.02312.22
5.2.70.0030.02712.22
5.2.60.0000.06712.22
5.2.50.0000.05712.22
5.2.40.0070.05312.22
5.2.30.0030.03312.22
5.2.20.0030.05312.22
5.2.10.0070.06312.22
5.2.00.0030.05312.22
5.1.60.0030.02712.22
5.1.50.0070.03712.22
5.1.40.0030.04712.22
5.1.30.0070.03312.22
5.1.20.0070.02712.22
5.1.10.0000.03012.22
5.1.00.0030.05312.22
5.0.50.0030.04312.22
5.0.40.0070.02712.22
5.0.30.0000.06312.22
5.0.20.0030.03012.22
5.0.10.0030.02012.22
5.0.00.0030.06712.22
4.4.90.0030.01312.22
4.4.80.0030.04012.22
4.4.70.0000.02312.22
4.4.60.0030.03012.22
4.4.50.0070.03012.22
4.4.40.0000.02712.22
4.4.30.0000.01712.22
4.4.20.0000.02712.22
4.4.10.0000.02712.22
4.4.00.0030.04712.22
4.3.110.0000.02012.22
4.3.100.0000.03712.22
4.3.90.0030.02012.22
4.3.80.0000.05012.22
4.3.70.0030.02712.22
4.3.60.0070.03012.22
4.3.50.0030.03312.22
4.3.40.0000.04712.22
4.3.30.0000.03312.22
4.3.20.0030.02012.22
4.3.10.0000.03312.22
4.3.00.0000.03712.22

preferences:
42.3 ms | 401 KiB | 5 Q