3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface One { public function i(): int|string; } interface Two extends One { public function i(): int; } interface Three extends Two { public function i(): int|string; }

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.0150.00416.63
8.3.50.0140.00318.20
8.3.40.0100.00618.75
8.3.30.0170.00318.54
8.3.20.0080.00024.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.180.0170.00325.92
8.2.170.0110.00418.97
8.2.160.0140.00022.96
8.2.150.0050.00225.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00726.35
8.2.110.0060.00320.22
8.2.100.0070.00420.51
8.1.280.0160.00625.92
8.1.270.0000.00723.99
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0080.00418.64
8.1.230.0090.00018.50
8.0.30.0070.00716.83
8.0.20.0060.01216.96
8.0.10.0090.00616.92
8.0.00.0060.01017.02
7.4.160.0040.01316.26
7.4.150.0080.00516.42
7.4.140.0100.00516.25
7.4.130.0090.00616.17
7.4.120.0030.01316.28
7.4.110.0110.00416.34
7.4.100.0100.01016.46
7.4.90.0110.00416.30
7.4.80.0110.00316.25
7.4.70.0070.01116.28
7.4.60.0040.01516.27
7.4.50.0070.00616.21
7.4.40.0070.01016.28
7.4.30.0100.00316.23
7.4.20.0030.01016.16
7.4.10.0030.01116.35
7.4.00.0100.00716.25
7.3.270.0110.00316.12
7.3.260.0000.01416.13
7.3.250.0110.00416.11
7.3.240.0000.01616.20
7.3.230.0060.00916.19
7.3.220.0000.01616.05
7.3.210.0110.00316.02
7.3.200.0070.00716.10
7.3.190.0110.00716.15
7.3.180.0080.00516.16
7.3.170.0090.00915.96
7.3.160.0030.01416.14
7.3.150.0140.00416.05
7.3.140.0030.01416.11
7.3.130.0040.01316.05
7.3.120.0050.00816.15
7.3.110.0110.00716.11
7.3.100.0000.01716.09
7.3.90.0090.00916.40
7.3.80.0110.00716.22
7.3.70.0100.00716.20
7.3.60.0030.01016.23
7.3.50.0120.00616.18
7.3.40.0060.01116.17
7.3.30.0030.01416.25
7.3.20.0050.00916.14
7.3.10.0120.00316.07
7.3.00.0060.00916.18

preferences:
47.63 ms | 400 KiB | 5 Q