3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A {} interface B extends A {} interface X { public function foo($a): A; } interface Y extends X { public function foo($a): B; }

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.60
8.3.130.0050.00318.51
8.3.120.0060.00318.88
8.3.110.0030.00620.94
8.3.100.0050.00316.58
8.3.90.0080.00018.57
8.3.80.0090.00017.97
8.3.70.0170.00018.43
8.3.60.0100.01018.30
8.3.50.0110.00118.28
8.3.40.0090.01218.57
8.3.30.0090.00618.68
8.3.20.0050.00218.96
8.3.10.0120.00321.52
8.3.00.0000.00721.77
8.2.250.0110.00417.25
8.2.240.0100.00617.07
8.2.230.0030.00622.58
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0060.00318.42
8.2.190.0070.00718.16
8.2.180.0180.00017.92
8.2.170.0140.00322.96
8.2.160.0110.00422.26
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00221.04
8.2.110.0100.00022.08
8.2.100.0110.00017.66
8.2.90.0060.00320.42
8.2.80.0040.00417.97
8.2.70.0040.00417.92
8.2.60.0000.00718.03
8.2.50.0040.00418.10
8.2.40.0090.00019.29
8.2.30.0000.00719.23
8.2.20.0000.00917.97
8.2.10.0040.00417.98
8.2.00.0040.00419.40
8.1.300.0000.00917.57
8.1.290.0040.00418.88
8.1.280.0120.00325.92
8.1.270.0040.00422.18
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.66
8.1.230.0060.00620.94
8.1.220.0080.00017.74
8.1.210.0000.00818.89
8.1.200.0030.00517.23
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0000.00918.60
8.1.160.0040.00418.86
8.1.150.0050.00318.81
8.1.140.0040.00422.11
8.1.130.0070.00017.24
8.1.120.0050.00317.29
8.1.110.0080.00017.39
8.1.100.0040.00417.29
8.1.90.0040.00417.39
8.1.80.0040.00417.27
8.1.70.0000.00717.27
8.1.60.0080.00017.50
8.1.50.0060.00317.33
8.1.40.0000.00817.36
8.1.30.0070.00017.56
8.1.20.0050.00217.51
8.1.10.0080.00017.42
8.1.00.0040.00417.33
8.0.300.0000.00719.77
8.0.290.0050.00516.63
8.0.280.0040.00418.24
8.0.270.0030.00317.18
8.0.260.0060.00016.75
8.0.250.0030.00316.82
8.0.240.0030.00316.75
8.0.230.0030.00616.84
8.0.220.0030.00416.81
8.0.210.0070.00016.70
8.0.200.0000.00716.89
8.0.190.0080.00016.89
8.0.180.0030.00516.80
8.0.170.0060.00316.86
8.0.160.0000.00716.73
8.0.150.0040.00416.85
8.0.140.0070.00016.78
8.0.130.0080.00013.28
8.0.120.0040.00416.70
8.0.110.0030.00616.86
8.0.100.0000.00716.72
8.0.90.0030.00316.70
8.0.80.0050.01116.75
8.0.70.0030.00516.93
8.0.60.0040.00416.86
8.0.50.0040.00416.84
8.0.30.0090.00916.79
8.0.20.0110.00817.40
8.0.10.0040.00416.80
8.0.00.0080.01116.79
7.4.330.0030.00316.74
7.4.320.0060.00016.35
7.4.300.0000.00916.43
7.4.290.0030.00316.45
7.4.280.0040.00416.55
7.4.270.0070.00016.50
7.4.260.0000.00716.41
7.4.250.0030.00316.29
7.4.240.0070.00016.57
7.4.230.0000.00816.41
7.4.220.0000.00716.56
7.4.210.0050.00916.45
7.4.200.0000.00716.41
7.4.160.0070.01116.49
7.4.140.0110.00917.86
7.4.130.0130.00316.46
7.4.120.0100.00916.36
7.4.110.0110.00616.44
7.4.100.0100.00716.56
7.4.90.0060.01016.49
7.4.80.0070.01319.39
7.4.70.0060.01616.42
7.4.60.0060.01216.48
7.4.50.0070.01016.41
7.4.40.0090.00616.21
7.4.00.0100.00514.95
7.3.330.0020.00213.11
7.3.320.0060.00013.07
7.3.310.0050.00216.23
7.3.300.0000.00716.29
7.3.290.0070.00016.10
7.3.280.0080.00816.26
7.3.260.0100.00916.32
7.3.240.0130.00616.34
7.3.230.0090.00916.24
7.3.210.0120.00416.21
7.3.200.0110.00716.28
7.3.190.0100.00716.15
7.3.180.0140.00516.37
7.3.170.0140.00316.32
7.3.160.0070.01016.33
7.3.120.0050.01414.67
7.3.110.0060.01114.76
7.3.100.0050.01014.48
7.3.90.0060.00514.77
7.3.80.0090.00614.82
7.3.70.0080.00614.48
7.3.60.0020.00814.67
7.3.50.0100.00514.50
7.3.40.0040.00614.65
7.3.30.0040.00914.58
7.3.20.0030.00816.58
7.3.10.0100.00316.64
7.3.00.0020.00916.54
7.2.330.0030.01316.37
7.2.320.0180.00016.34
7.2.310.0130.00316.58
7.2.300.0160.00716.52
7.2.290.0070.01016.50
7.2.250.0070.01314.86
7.2.240.0110.01014.78
7.2.230.0090.00814.76
7.2.220.0040.00914.91
7.2.210.0020.01414.86
7.2.200.0090.00414.88
7.2.190.0080.00615.04
7.2.180.0090.00514.70
7.2.170.0060.00615.01
7.2.120.0410.00614.43
7.2.110.0490.00314.54
7.2.100.0520.00714.31
7.2.90.0760.00714.34
7.2.80.0420.00314.36
7.2.70.0320.01314.92
7.2.60.1190.00314.54
7.2.50.0830.00714.56
7.2.40.0490.00714.67
7.2.30.0420.01114.95
7.2.20.0440.00414.81
7.2.10.0730.01614.57
7.2.00.0690.00414.59
7.1.330.0060.00715.59
7.1.320.0040.00615.66
7.1.310.0100.00315.54
7.1.300.0070.00615.68
7.1.290.0100.00215.72
7.1.280.0070.00615.64
7.1.270.0070.00515.68
7.1.260.0040.00515.83
7.1.240.0440.00713.59
7.1.230.0680.01013.66
7.1.220.0430.00313.28
7.1.210.0400.00913.62
7.1.200.0390.00313.63
7.1.190.0440.00013.68
7.1.180.0390.01113.85
7.1.170.0840.00013.58
7.1.160.0620.00313.55
7.1.150.0910.00713.89
7.1.140.0380.00013.52
7.1.130.0560.00613.64
7.1.120.0450.00913.82
7.1.110.0410.00713.66
7.1.100.0460.00913.53
7.1.90.0370.00313.61
7.1.80.0410.00613.64
7.1.70.0410.01013.50
7.1.60.0690.01613.43
7.1.50.0310.01313.82
7.1.40.0370.00413.57
7.1.30.0920.00713.61
7.1.20.0760.01013.49
7.1.10.0330.00713.68
7.1.00.0440.00313.69
5.6.380.0040.01113.72

preferences:
34.44 ms | 403 KiB | 5 Q