3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo( string|null $first = null, string|null $second = null, mixed ...$others ){ var_dump(func_get_args()); } foo(others:1);

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.70.0050.00316.80
8.5.60.0080.00916.57
8.5.50.0090.00818.29
8.5.30.0170.00816.53
8.4.220.0090.01321.34
8.4.210.0150.00419.41
8.4.90.0080.01119.60
8.3.310.0090.01218.36
8.3.180.0080.00118.39
8.3.50.0100.00718.50
8.2.310.0110.00818.09

preferences:
49.38 ms | 529 KiB | 5 Q