<?php function foo($a, $b, $c, $d) { print_r(func_get_args()); } $bar = ['a', 'b']; foo(...[...$bar, 1, 2, 3]);
You have javascript disabled. You will not be able to edit any code.