3v4l.org

run code in 300+ PHP versions simultaneously
<?php function testFunction ($x, ...$y) { var_dump(func_get_args()); } testFunction(1, 2, 3, 4);

preferences:
36.68 ms | 402 KiB | 5 Q