3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Ia {} interface Ib extends Ia {} class Foo { protected function xyz(Ib $x) {} } class Bar extends Foo { protected function xyz(Ia $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.0140.00016.38
8.3.50.0110.00921.15
8.3.40.0110.00418.72
8.3.30.0090.00618.54
8.3.20.0040.00420.05
8.3.10.0070.00023.66
8.3.00.0080.00021.89
8.2.180.0060.01216.50
8.2.170.0120.00322.96
8.2.160.0040.01120.52
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00421.03
8.2.120.0000.00826.35
8.2.110.0060.00321.18
8.2.100.0090.00317.93
8.2.90.0040.00419.05
8.2.80.0000.00917.97
8.2.70.0040.00417.50
8.2.60.0080.00017.93
8.2.50.0080.00018.09
8.2.40.0000.00822.36
8.2.30.0000.00719.32
8.2.20.0070.00017.62
8.2.10.0000.00718.04
8.2.00.0040.00417.97
8.1.280.0040.01125.92
8.1.270.0120.00322.20
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.45
8.1.230.0070.00419.23
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0070.00317.11
8.1.190.0040.00417.13
8.1.180.0030.00618.10
8.1.170.0060.00318.64
8.1.160.0050.00220.60
8.1.150.0040.00418.82
8.1.140.0040.00419.45
8.1.130.0000.00717.54
8.1.120.0070.00017.29
8.1.110.0000.00717.39
8.1.100.0020.00517.34
8.1.90.0000.00717.40
8.1.80.0030.00317.30
8.1.70.0040.00417.39
8.1.60.0040.00417.39
8.1.50.0090.00017.35
8.1.40.0000.00717.37
8.1.30.0030.00517.50
8.1.20.0040.00417.59
8.1.10.0080.00017.38
8.1.00.0040.00417.26
8.0.300.0070.00018.77
8.0.290.0000.00816.63
8.0.280.0030.00318.45
8.0.270.0030.00317.17
8.0.260.0000.00717.18
8.0.250.0060.00016.79
8.0.240.0000.00716.89
8.0.230.0040.00416.89
8.0.220.0040.00416.84
8.0.210.0080.00016.77
8.0.200.0000.00716.77
8.0.190.0040.00416.81
8.0.180.0000.00816.84
8.0.170.0000.00816.88
8.0.160.0040.00316.78
8.0.150.0000.00716.77
8.0.140.0030.00516.70
8.0.130.0030.00313.31
8.0.120.0000.00816.76
8.0.110.0050.00316.77
8.0.100.0040.00416.93
8.0.90.0000.00816.82
8.0.80.0030.01716.77
8.0.70.0000.00716.68
8.0.60.0070.00016.64
8.0.50.0000.00716.63
8.0.30.0090.01016.82
8.0.20.0120.00617.40
8.0.10.0050.00316.83
8.0.00.0060.01316.60
7.4.330.0000.00516.91
7.4.320.0040.00416.33
7.4.300.0000.00716.33
7.4.290.0000.00716.53
7.4.280.0040.00416.40
7.4.270.0030.00316.52
7.4.260.0030.00316.52
7.4.250.0000.00816.54
7.4.240.0040.00416.34
7.4.230.0040.00416.24
7.4.220.0120.01216.55
7.4.210.0120.00416.51
7.4.200.0040.00416.53
7.4.160.0000.01716.29
7.4.150.0120.00617.40
7.4.140.0090.01217.86
7.4.130.0100.00816.49
7.4.120.0090.00816.29
7.4.110.0040.01516.41
7.4.100.0120.01316.44
7.4.90.0070.01116.17
7.4.80.0180.01119.39
7.4.70.0090.00916.39
7.4.60.0100.00616.22
7.4.50.0100.00716.21
7.4.40.0030.01316.18
7.4.30.0070.01016.40
7.4.00.0060.00615.07
7.3.330.0000.00513.23
7.3.320.0000.00613.22
7.3.310.0030.00316.22
7.3.300.0070.00016.12
7.3.290.0080.00716.22
7.3.280.0070.01016.24
7.3.270.0130.00617.40
7.3.260.0090.00916.41
7.3.250.0070.01016.27
7.3.240.0110.00716.37
7.3.230.0060.01216.39
7.3.210.0160.00616.35
7.3.200.0060.01416.28
7.3.190.0110.00816.36
7.3.180.0060.01316.26
7.3.170.0110.00716.29
7.3.160.0120.00316.20
7.2.330.0130.01316.62
7.2.320.0100.01316.54
7.2.310.0090.01316.55
7.2.300.0040.01216.35
7.2.290.0130.01016.52
7.2.60.0040.00716.39
7.2.00.0000.01219.36
7.1.200.0160.00415.30
7.1.100.0000.01117.71
7.1.70.0000.01517.18
7.1.60.0100.01319.28
7.1.50.0040.00816.86
7.1.00.0070.07322.45
7.0.200.0080.00016.50
7.0.60.0070.07321.71
7.0.50.0130.04017.88
7.0.40.0030.04320.04
7.0.30.0270.07020.19
7.0.20.0270.06720.21
7.0.10.0070.08720.23
7.0.00.0030.08720.33
5.6.280.0000.03321.13
5.6.210.0170.04320.66
5.6.200.0000.09018.16
5.6.190.0170.04320.34
5.6.180.0200.04720.39
5.6.170.0370.08020.56
5.6.160.0170.05720.47
5.6.150.0130.07318.22
5.6.140.0070.04718.18
5.6.130.0070.08318.15
5.6.120.0170.08021.04
5.6.110.0100.06020.99
5.6.100.0070.05721.12
5.6.90.0000.08320.98
5.6.80.0130.04720.41
5.5.350.3670.04720.45
5.5.340.0000.07318.04
5.5.330.0100.05020.26
5.5.320.0230.04320.35
5.5.310.0230.05320.27
5.5.300.0070.08017.97
5.5.290.0100.05317.99
5.5.280.0000.04320.78
5.5.270.0030.04020.88
5.5.260.0070.04720.78
5.5.250.0100.07720.76
5.5.240.0170.07320.27

preferences:
42.01 ms | 401 KiB | 5 Q