Google won't help me; I want to pass an array as an argument list to a function.
I can't edit the function itself, so I can't pass an array. It expects this:
function doSomething($arg1, $arg2, [$arg3...]) {
//code...
}
And I have this:
$args = array('arg1', 'arg2', 'arg3'...);
How can I pass them anyway?