3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A {} interface B extends A {} interface X { public function foo(B $a); } interface Y extends X { public function foo(A $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.140.0090.00916.82
8.3.130.0040.00418.58
8.3.120.0130.00620.96
8.3.110.0130.00620.94
8.3.100.0030.00624.06
8.3.90.0050.00326.77
8.3.80.0030.00618.43
8.3.70.0150.00016.25
8.3.60.0040.01418.43
8.3.50.0090.00617.30
8.3.40.0120.00318.59
8.3.30.0040.01118.67
8.3.20.0080.00019.21
8.3.10.0050.00321.72
8.3.00.0040.00421.90
8.2.250.0040.00416.59
8.2.240.0150.00316.76
8.2.230.0090.00022.58
8.2.220.0040.00437.54
8.2.210.0060.01226.77
8.2.200.0030.00618.04
8.2.190.0130.00318.43
8.2.180.0140.00716.63
8.2.170.0040.01122.96
8.2.160.0070.00722.25
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00326.16
8.2.120.0040.00420.96
8.2.110.0090.00022.16
8.2.100.0060.00617.63
8.2.90.0040.00417.63
8.2.80.0050.00318.64
8.2.70.0080.00017.38
8.2.60.0000.00817.50
8.2.50.0030.00617.92
8.2.40.0000.00818.00
8.2.30.0050.00219.03
8.2.20.0040.00417.90
8.2.10.0000.00717.90
8.2.00.0040.00419.44
8.1.300.0130.00620.03
8.1.290.0040.00430.84
8.1.280.0070.01125.92
8.1.270.0040.00423.99
8.1.260.0030.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00023.80
8.1.230.0110.00017.42
8.1.220.0050.00318.57
8.1.210.0030.00618.77
8.1.200.0000.00817.22
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00717.62
8.1.160.0000.00818.80
8.1.150.0050.00318.85
8.1.140.0000.00722.18
8.1.130.0000.00717.43
8.1.120.0030.00617.38
8.1.110.0040.00417.27
8.1.100.0040.00417.27
8.1.90.0040.00417.31
8.1.80.0050.00217.40
8.1.70.0030.00317.23
8.1.60.0000.00717.36
8.1.50.0000.00817.36
8.1.40.0060.00317.43
8.1.30.0000.00717.39
8.1.20.0040.00417.56
8.1.10.0000.00817.31
8.1.00.0030.00517.33
8.0.300.0050.00318.77
8.0.290.0000.00816.63
8.0.280.0080.00018.34
8.0.270.0030.00316.79
8.0.260.0060.00016.75
8.0.250.0070.00016.80
8.0.240.0070.00016.90
8.0.230.0090.00016.82
8.0.220.0030.00316.69
8.0.210.0030.00316.80
8.0.200.0030.00316.71
8.0.190.0000.00816.92
8.0.180.0070.00016.88
8.0.170.0030.00616.80
8.0.160.0070.00016.92
8.0.150.0000.00716.76
8.0.140.0030.00616.71
8.0.130.0080.00013.24
8.0.120.0000.00816.76
8.0.110.0040.00416.85
8.0.100.0020.00516.69
8.0.90.0000.00716.80
8.0.80.0040.01716.78
8.0.70.0050.00216.80
8.0.60.0030.00516.82
8.0.50.0000.00716.70
8.0.30.0090.00917.14
8.0.20.0090.01117.40
8.0.10.0000.00716.80
8.0.00.0120.00716.50
7.4.330.0000.00516.66
7.4.320.0040.00416.58
7.4.300.0000.00616.43
7.4.290.0000.00616.53
7.4.280.0070.00016.50
7.4.270.0080.00016.48
7.4.260.0030.00316.44
7.4.250.0000.00816.34
7.4.240.0000.00716.29
7.4.230.0070.00016.62
7.4.220.0030.00316.59
7.4.210.0110.00316.42
7.4.200.0030.00316.46
7.4.160.0100.00516.30
7.4.140.0110.01017.86
7.4.130.0040.01316.47
7.4.120.0140.00716.53
7.4.110.0070.01016.24
7.4.100.0160.00316.47
7.4.90.0110.00616.40
7.4.80.0070.01019.39
7.4.70.0130.01216.45
7.4.60.0000.01616.57
7.4.50.0030.01216.48
7.4.40.0100.00716.29
7.4.00.0090.00615.01
7.3.330.0060.00013.25
7.3.320.0030.00313.10
7.3.310.0000.00716.11
7.3.300.0070.00016.25
7.3.290.0000.00716.21
7.3.280.0100.00716.26
7.3.260.0140.00416.32
7.3.240.0070.01016.42
7.3.230.0030.01416.37
7.3.210.0100.00616.20
7.3.200.0060.00916.54
7.3.190.0110.01116.41
7.3.180.0080.00816.59
7.3.170.0070.01016.47
7.3.160.0090.00616.16
7.2.330.0090.00916.56
7.2.320.0140.00716.43
7.2.310.0050.01316.67
7.2.300.0070.01016.35
7.2.290.0080.00816.42
7.2.120.0710.00314.55
7.2.110.0640.00314.28
7.2.100.0610.00014.50
7.2.90.0700.01614.61
7.2.80.0710.01014.43
7.2.70.0540.00714.92
7.2.60.0530.01014.89
7.2.50.0840.00714.64
7.2.40.0810.00914.73
7.2.30.0550.00014.79
7.2.20.0660.01014.76
7.2.10.0650.01014.83
7.2.00.0910.00314.91
7.1.240.0860.00313.51
7.1.230.0780.00613.65
7.1.220.1810.00713.52
7.1.210.0750.01313.40
7.1.200.0830.00713.60
7.1.190.0850.00313.63
7.1.180.0550.00213.47
7.1.170.0830.00913.54
7.1.160.0760.00613.86
7.1.150.0560.00713.69
7.1.140.0750.01013.66
7.1.130.0470.00913.72
7.1.120.0720.00713.80
7.1.110.1580.00713.78
7.1.100.0430.00713.57
7.1.90.0520.00713.94
7.1.80.0400.00013.89
7.1.70.0810.00913.37
7.1.60.0790.01313.72
7.1.50.0810.00013.70
7.1.40.0520.01313.62
7.1.30.0650.00313.76
7.1.20.0660.00013.52
7.1.10.0450.01013.80
7.1.00.0520.00313.61
5.6.380.0060.00913.95

preferences:
52.77 ms | 403 KiB | 5 Q