3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($a, $b) {} foo(...$array); // Normal call foo(...@$array); // Hide Undefined variable, but trips on null! foo(@...$array); // @ doesn't work on operators, so not on ... foo(@...@$array); // same as above, but it looks cool!
Output for 8.2.0 - 8.2.28, 8.3.0 - 8.3.22, 8.4.1 - 8.4.8
Parse error: syntax error, unexpected token "..." in /in/T0L1k on line 9
Process exited with code 255.

preferences:
164.86 ms | 1340 KiB | 6 Q