3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test_variadic(...$args) // Note that `$args` is not optional here. { print_r($args); } test(); // Test without any arguments. Woah. This works. Nice!

preferences:
43.59 ms | 402 KiB | 5 Q