3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface i { function foo($a, $b = 2); } class x implements i { // This is compatible with the interface definition function foo(...$args) {} } ?>

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.5.60.0100.00716.50
8.5.50.0060.00316.64
8.5.30.0140.00617.94
8.5.20.0120.00519.41
8.5.10.0120.00716.59
8.5.00.0110.00919.93
8.4.210.0130.00819.48
8.4.180.0130.00822.18
8.4.170.0170.00421.84
8.4.160.0110.01023.82
8.4.150.0090.00316.86
8.4.140.0120.00917.41
8.4.130.0160.00517.85
8.4.120.0110.00922.27
8.4.110.0170.00418.83
8.4.100.0120.00717.57
8.4.90.0130.00717.56
8.4.80.0050.00417.56
8.4.70.0080.00317.68
8.4.60.0050.00417.58
8.4.50.0050.00417.47
8.4.40.0380.01917.11
8.4.30.0380.00617.39
8.4.20.0440.00317.55
8.4.10.0340.01217.46
8.3.300.0120.00918.13
8.3.290.0130.01018.29
8.3.280.0100.01218.36
8.3.270.0100.00916.54
8.3.260.0060.00216.65
8.3.250.0140.00618.98
8.3.240.0130.00716.57
8.3.230.0110.00716.66
8.3.220.0100.00817.23
8.3.210.0100.00916.73
8.3.200.0140.00419.07
8.3.190.0110.00816.44
8.3.180.0130.00816.63
8.3.170.0330.01116.47
8.3.160.0360.01016.33
8.3.150.0370.01016.50
8.3.140.0340.01116.45
8.3.130.0370.00316.25
8.3.120.0360.00716.24
8.3.110.0320.00816.34
8.3.100.0370.00716.65
8.3.90.0400.00616.40
8.3.80.0370.00716.39
8.3.70.0240.02116.54
8.3.60.0360.00916.45
8.3.50.0410.00616.59
8.3.40.0340.00917.18
8.3.30.0290.00617.25
8.3.20.0220.01317.35
8.3.10.0290.00717.23
8.3.00.0070.01419.26
8.2.300.0180.00717.98
8.2.290.0120.00620.26
8.2.280.0110.00716.51
8.2.270.0310.00716.13
8.2.260.0290.01016.13
8.2.250.0280.00916.34
8.2.240.0320.00716.57
8.2.230.0320.00716.13
8.2.220.0330.01116.48
8.2.210.0360.00316.13
8.2.200.0350.00316.50
8.2.190.0330.00616.13
8.2.180.0330.00516.13
8.2.170.0320.01017.30
8.2.160.0330.00917.33
8.2.150.0220.01117.27
8.2.140.0330.01117.32
8.2.130.0310.00617.29
8.2.120.0380.00017.36
8.2.110.0340.00717.35
8.2.100.0360.00617.27
8.2.90.0390.00017.45
8.2.80.0310.00917.39
8.2.70.0250.01317.44
8.2.60.0220.01817.45
8.2.50.0320.00417.24
8.2.40.0340.00617.30
8.2.30.0250.01117.06
8.2.20.0320.00717.54
8.2.10.0250.01117.31
8.2.00.0360.00017.22
8.1.340.0110.00917.48
8.1.320.0080.01015.98

preferences:
61.72 ms | 844 KiB | 5 Q