3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Ia {} class Foo { protected function xyz(Ia $x) {} } interface Ib extends Ia {} class Bar extends Foo { protected function xyz(Ib $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.0090.00616.88
8.3.50.0070.00716.51
8.3.40.0070.00718.53
8.3.30.0120.00318.66
8.3.20.0050.00320.34
8.3.10.0000.00823.41
8.3.00.0040.00421.60
8.2.180.0060.01216.38
8.2.170.0040.01122.96
8.2.160.0030.01020.39
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0040.00421.10
8.2.120.0000.00726.35
8.2.110.0030.00621.00
8.2.100.0100.00617.66
8.2.90.0000.00819.13
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0000.00822.32
8.2.30.0030.00519.38
8.2.20.0040.00417.63
8.2.10.0080.00017.86
8.2.00.0000.00717.90
8.1.270.0110.00822.05
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0060.00322.62
8.1.230.0070.00417.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0000.00818.57
8.1.160.0000.00720.70
8.1.150.0080.00018.83
8.1.140.0040.00419.50
8.1.130.0050.00217.54
8.1.120.0000.00717.29
8.1.110.0030.00317.25
8.1.100.0050.00317.38
8.1.90.0070.00017.27
8.1.80.0030.00317.28
8.1.70.0040.00417.34
8.1.60.0000.00817.54
8.1.50.0040.00417.43
8.1.40.0040.00417.43
8.1.30.0040.00417.50
8.1.20.0000.00717.46
8.1.10.0000.00717.41
8.1.00.0000.00817.20
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.46
8.0.270.0080.00017.27
8.0.260.0040.00417.22
8.0.250.0000.00716.85
8.0.240.0000.00716.97
8.0.230.0070.00016.91
8.0.220.0030.00316.77
8.0.210.0000.00716.84
8.0.200.0030.00316.93
8.0.190.0040.00416.82
8.0.180.0040.00416.90
8.0.170.0060.00316.80
8.0.160.0000.00816.79
8.0.150.0000.00816.77
8.0.140.0040.00416.78
8.0.130.0030.00313.27
8.0.120.0060.00316.90
8.0.110.0000.00716.72
8.0.100.0000.00716.93
8.0.90.0070.00016.96
8.0.80.0030.01516.92
8.0.70.0020.00516.75
8.0.60.0040.00416.90
8.0.50.0020.00516.94
8.0.30.0100.00817.09
8.0.20.0100.00817.40
8.0.10.0040.00417.06
8.0.00.0120.00616.67
7.4.330.0030.00316.73
7.4.320.0030.00316.43
7.4.300.0070.00016.52
7.4.290.0070.00016.50
7.4.280.0040.00416.53
7.4.270.0000.00716.43
7.4.260.0070.00016.41
7.4.250.0040.00416.52
7.4.240.0030.00316.54
7.4.230.0050.00216.58
7.4.220.0120.00616.59
7.4.210.0030.01016.55
7.4.200.0050.00216.53
7.4.160.0130.00316.27
7.4.150.0140.00317.40
7.4.140.0130.00717.86
7.4.130.0070.01116.40
7.4.120.0100.00816.47
7.4.110.0060.01216.42
7.4.100.0030.01316.49
7.4.90.0070.01016.55
7.4.80.0120.00919.39
7.4.70.0070.01016.50
7.4.60.0060.00916.24
7.4.50.0100.00616.25
7.4.40.0110.00716.40
7.4.30.0030.01416.41
7.4.00.0090.00315.11
7.3.330.0020.00213.18
7.3.320.0000.00613.09
7.3.310.0070.00016.25
7.3.300.0060.00016.11
7.3.290.0070.00716.28
7.3.280.0080.00916.25
7.3.270.0060.01217.40
7.3.260.0100.00716.31
7.3.240.0100.00816.38
7.3.230.0070.01116.39
7.3.210.0180.00316.23
7.3.200.0080.01019.39
7.3.190.0130.00316.32
7.3.180.0040.01116.28
7.3.170.0160.00716.54
7.3.160.0090.00616.28
7.2.330.0160.00316.55
7.2.320.0040.01316.64
7.2.310.0100.01316.60
7.2.300.0070.01016.68
7.2.290.0040.01216.63
7.2.60.0130.00316.51
7.2.00.0090.00619.31
7.1.200.0070.00415.70
7.1.100.0070.00717.76
7.1.70.0040.00417.06
7.1.60.0110.01419.28
7.1.50.0110.01116.53
7.1.00.0000.07722.51
7.0.200.0080.00016.76
7.0.60.0100.07721.74
7.0.50.0130.05317.86
7.0.40.0070.04020.13
7.0.30.0400.06320.23
7.0.20.0270.05320.31
7.0.10.0070.04720.18
7.0.00.0170.07720.05
5.6.280.0000.03321.10
5.6.210.0130.08020.73
5.6.200.0100.07018.19
5.6.190.0030.08720.57
5.6.180.0300.03320.61
5.6.170.0230.06320.47
5.6.160.0070.08720.55
5.6.150.0070.04018.22
5.6.140.0130.07718.14
5.6.130.0070.08018.18
5.6.120.0070.04721.01
5.6.110.0170.06020.98
5.6.100.0000.09020.98
5.6.90.0130.06721.02
5.6.80.0170.07320.41
5.5.350.4130.04020.39
5.5.340.0000.07017.96
5.5.330.0100.05320.40
5.5.320.0270.03320.31
5.5.310.0400.06320.36
5.5.300.0030.05718.10
5.5.290.0070.08018.05
5.5.280.0030.04020.77
5.5.270.0070.04720.77
5.5.260.0100.04320.78
5.5.250.0000.08020.71
5.5.240.0130.08020.19

preferences:
101.22 ms | 400 KiB | 5 Q