3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface B { } interface A extends B { public function a(A $a); } class AA implements A { public function a(B $a) { // } }

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.0110.01116.61
8.3.50.0090.01218.30
8.3.40.0070.01318.72
8.3.30.0110.00418.55
8.3.20.0000.00820.13
8.3.10.0040.00420.42
8.3.00.0040.00421.64
8.2.180.0070.01416.32
8.2.170.0140.00722.96
8.2.160.0070.00722.30
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0060.00320.74
8.2.120.0000.00826.35
8.2.110.0000.00920.53
8.2.100.0090.00317.72
8.2.90.0000.00819.08
8.2.80.0090.00017.97
8.2.70.0060.00317.63
8.2.60.0090.00017.91
8.2.50.0000.00818.09
8.2.40.0030.00522.30
8.2.30.0040.00419.24
8.2.20.0000.00717.53
8.2.10.0000.00718.04
8.2.00.0040.00417.87
8.1.280.0110.00425.92
8.1.270.0030.01022.10
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0120.00023.92
8.1.230.0110.00020.91
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0040.00417.00
8.1.180.0070.00018.10
8.1.170.0040.00418.62
8.1.160.0000.00720.70
8.1.150.0040.00418.81
8.1.140.0040.00419.51
8.1.130.0000.00717.64
8.1.120.0000.00717.41
8.1.110.0000.00717.37
8.1.100.0050.00217.27
8.1.90.0050.00317.28
8.1.80.0040.00417.42
8.1.70.0040.00417.42
8.1.60.0000.00717.49
8.1.50.0080.00017.33
8.1.40.0040.00417.51
8.1.30.0000.00917.46
8.1.20.0070.00017.41
8.1.10.0000.00717.37
8.1.00.0050.00217.27
8.0.300.0020.00518.77
8.0.290.0040.00416.58
8.0.280.0050.00318.24
8.0.270.0000.00717.23
8.0.260.0060.00017.09
8.0.250.0030.00316.88
8.0.240.0080.00016.95
8.0.230.0000.00816.90
8.0.220.0040.00416.77
8.0.210.0030.00316.75
8.0.200.0030.00316.89
8.0.190.0000.00816.83
8.0.180.0000.00716.80
8.0.170.0050.00216.86
8.0.160.0000.00716.82
8.0.150.0040.00716.89
8.0.140.0070.00016.67
8.0.130.0030.00313.22
8.0.120.0000.00916.77
8.0.110.0040.00416.78
8.0.100.0030.00516.79
8.0.90.0050.00316.71
8.0.80.0130.00716.82
8.0.70.0060.00316.66
8.0.60.0080.00016.65
8.0.50.0040.00416.79
8.0.30.0120.00617.02
8.0.20.0110.00917.40
8.0.10.0040.00416.98
8.0.00.0080.01316.59
7.4.330.0030.00316.77
7.4.320.0060.00016.30
7.4.300.0040.00416.53
7.4.290.0070.00016.48
7.4.280.0030.00616.41
7.4.270.0040.00416.45
7.4.260.0000.00716.31
7.4.250.0000.00716.50
7.4.240.0030.00316.41
7.4.230.0000.00716.61
7.4.220.0110.00416.47
7.4.210.0100.00416.38
7.4.200.0000.00716.25
7.4.160.0100.00716.52
7.4.150.0110.01117.40
7.4.140.0100.00617.86
7.4.130.0140.00316.43
7.4.120.0070.01216.46
7.4.110.0090.00616.44
7.4.100.0070.01116.38
7.4.90.0110.00616.46
7.4.80.0120.00319.39
7.4.70.0130.00616.51
7.4.60.0100.00716.28
7.4.50.0030.01016.45
7.4.40.0130.00316.48
7.4.30.0070.01516.42
7.4.00.0030.01314.98
7.3.330.0000.00513.21
7.3.320.0060.00013.23
7.3.310.0000.00716.13
7.3.300.0030.00316.29
7.3.290.0110.00916.23
7.3.280.0100.00816.22
7.3.270.0120.00417.40
7.3.260.0090.00916.66
7.3.250.0100.00716.23
7.3.240.0100.00716.39
7.3.230.0060.01716.39
7.3.210.0040.01316.28
7.3.200.0200.00516.34
7.3.190.0040.01416.32
7.3.180.0060.00916.30
7.3.170.0060.00916.38
7.3.160.0090.00616.50
7.3.120.0080.00814.52
7.3.110.0000.01714.78
7.3.100.0070.00314.68
7.3.90.0000.01514.76
7.3.80.0120.00014.74
7.3.70.0080.00814.82
7.3.60.0030.01014.88
7.3.50.0000.01214.70
7.3.40.0030.00814.56
7.3.30.0070.00414.45
7.3.20.0090.00316.59
7.3.10.0080.00716.62
7.3.00.0040.00916.56
7.2.330.0090.00916.59
7.2.320.0150.00316.42
7.2.310.0030.01316.61
7.2.300.0060.01016.26
7.2.290.0040.01516.28
7.2.240.0000.01114.84
7.2.230.0120.00314.84
7.2.220.0110.00714.73
7.2.210.0070.00414.71
7.2.200.0070.00714.81
7.2.190.0040.01414.76
7.2.180.0030.01214.94
7.2.170.0110.00715.04
7.2.160.0030.01414.99
7.2.150.0050.00516.71
7.2.140.0070.00716.89
7.2.130.0010.01116.88
7.2.120.0050.01116.66
7.2.110.0060.00516.75
7.2.100.0050.00616.80
7.2.90.0080.00616.64
7.2.80.0040.01016.78
7.2.70.0060.00716.76
7.2.60.0110.00316.79
7.2.50.0020.01216.70
7.2.40.0030.01216.77
7.2.30.0060.01016.88
7.2.20.0090.00716.82
7.2.10.0070.00516.79
7.2.00.0040.00917.58
7.1.330.0030.01015.89
7.1.320.0070.00315.48
7.1.310.0100.00315.57
7.1.300.0040.01115.60
7.1.290.0060.00915.60
7.1.280.0070.00715.38
7.1.270.0030.00715.86
7.1.260.0030.00615.54
7.1.250.0050.00815.51
7.1.200.0040.00415.61
7.1.100.0030.01017.86
7.1.70.0030.01217.16
7.1.60.0100.01619.40
7.1.50.0040.00816.86
7.1.00.0030.07722.40
7.0.200.0950.01014.82
7.0.60.0300.06319.78
7.0.50.0100.07317.88
7.0.40.0100.04320.24
7.0.30.0170.06020.19
7.0.20.0200.04720.07
7.0.10.0030.06020.20
7.0.00.0100.08320.29
5.6.280.0000.07320.91
5.6.210.0130.08020.63
5.6.200.0030.08318.16
5.6.190.0000.04720.47
5.6.180.0200.04720.50
5.6.170.0230.07020.59
5.6.160.0000.06320.51
5.6.150.0130.04718.18
5.6.140.0030.08018.24
5.6.130.0000.04718.11
5.6.120.0030.04721.15
5.6.110.0070.04021.08
5.6.100.0030.08721.11
5.6.90.0070.03721.11
5.6.80.0130.06320.48
5.5.350.0170.07320.36
5.5.340.0130.06718.09
5.5.330.0170.07320.29
5.5.320.0170.04320.32
5.5.310.0430.06320.23
5.5.300.0130.07317.95
5.5.290.0000.04318.03
5.5.280.0070.04720.96
5.5.270.0030.04020.95
5.5.260.0130.07720.88
5.5.250.0070.08020.79
5.5.240.0230.05020.16
5.4.450.0170.05319.52
5.4.440.0100.05719.27
5.4.430.0370.05019.45
5.4.420.0700.06019.49
5.4.410.0700.05019.32
5.4.400.0670.05319.22
5.4.390.0730.05018.95
5.4.380.0700.05018.99
5.4.370.0770.04719.31
5.4.360.0870.05319.25
5.4.350.0730.04719.28
5.4.340.0730.07019.13
5.4.320.0630.06019.10
5.4.310.0700.05019.28
5.4.300.0900.05019.27
5.4.290.0900.04719.18
5.4.280.0800.06019.22
5.4.270.0870.07319.24
5.4.260.0770.06018.95
5.4.250.0900.04719.18
5.4.240.0800.05319.26
5.4.230.0870.05019.12
5.4.220.0900.05019.32
5.4.210.0830.05719.26
5.4.200.0800.06019.23
5.4.190.0900.05018.96
5.4.180.0830.06719.22
5.4.170.0670.05719.09
5.4.160.0630.05719.15
5.4.150.0730.05018.91
5.4.140.0630.05316.65
5.4.130.0630.05316.44
5.4.120.0700.04716.57
5.4.110.0830.05316.31
5.4.100.0870.04716.62
5.4.90.0830.04716.56
5.4.80.0800.04716.63
5.4.70.0900.04316.30
5.4.60.1170.06316.61
5.4.50.0500.06016.48
5.4.40.0830.04016.59
5.4.30.0270.05716.22
5.4.20.0070.05316.51
5.4.10.0200.05716.51
5.4.00.0230.04015.88
5.3.290.0670.05314.68
5.3.280.0670.05714.61
5.3.270.0900.05014.43
5.3.260.0800.04314.57
5.3.250.0630.05314.58
5.3.240.0700.05014.58
5.3.230.0630.05314.61
5.3.220.0700.05014.53
5.3.210.0700.05314.54
5.3.200.0930.04714.59
5.3.190.0930.04014.64
5.3.180.0630.05314.55
5.3.170.0770.05314.55
5.3.160.0870.04714.53
5.3.150.0770.05314.39
5.3.140.0700.05314.72
5.3.130.0270.06014.54
5.3.120.0270.06014.56
5.3.110.0400.04014.48
5.3.100.0170.04714.08
5.3.90.0430.04714.01
5.3.80.0330.05014.18
5.3.70.0300.05714.02
5.3.60.0270.04713.97
5.3.50.0230.05313.94
5.3.40.0270.06313.94
5.3.30.0230.05014.07
5.3.20.0200.06313.69
5.3.10.0330.06013.71
5.3.00.0200.05013.64
5.2.170.0200.05711.22
5.2.160.0230.05311.24
5.2.150.0330.04311.32
5.2.140.0330.04711.14
5.2.130.0200.03311.06
5.2.120.0400.04011.26
5.2.110.0230.04711.10
5.2.100.0200.04011.01
5.2.90.0200.03711.00
5.2.80.0200.03710.93
5.2.70.0170.04311.10
5.2.60.0100.04711.03
5.2.50.0100.04711.00
5.2.40.0170.05011.00
5.2.30.0170.04310.93
5.2.20.0100.04310.95
5.2.10.0100.04310.86
5.2.00.0100.04310.71
5.1.60.0130.0339.98
5.1.50.0130.03310.14
5.1.40.0100.0339.89
5.1.30.0100.03710.35
5.1.20.0170.03310.50
5.1.10.0070.0409.91
5.1.00.0070.04010.07
5.0.50.0100.0278.52
5.0.40.0100.0238.43
5.0.30.0130.0478.31
5.0.20.0030.0308.19
5.0.10.0100.0278.18
5.0.00.0030.0478.18
4.4.90.0130.0176.00
4.4.80.0100.0206.00
4.4.70.0030.0236.00
4.4.60.0130.0176.00
4.4.50.0070.0206.00
4.4.40.0100.0306.00
4.4.30.0100.0206.00
4.4.20.0070.0206.00
4.4.10.0130.0176.00
4.4.00.0070.0336.00
4.3.110.0100.0276.00
4.3.100.0070.0276.00
4.3.90.0100.0206.00
4.3.80.0070.0436.00
4.3.70.0100.0176.00
4.3.60.0030.0236.00
4.3.50.0130.0176.00
4.3.40.0100.0306.00
4.3.30.0030.0236.00
4.3.20.0030.0236.00
4.3.10.0030.0236.00
4.3.00.0030.0236.00

preferences:
54.93 ms | 401 KiB | 5 Q