I'm wondering if there are any syntactic problems calling a function that only has one argument with multiple arguments. For example:
function foobar( $biff ) {
// do stuff...
}
... and then call the function:
echo foobar( 'Hello', 'world', '!!!' )
I believe that $biff === 'Hello', right?
And then I will use array_slice( func_get_args(), 1 ); to play with the args 'world' and '!!!'.
Is this right or is this not recommended?
P.S. I am working inside a function wrapper, which holds a lot of other functions containing various numbers of arguments.