What about doing something like this:
<?php
function someFunction( $first , $second , $third )
{
$numberOfDefinedArgs = 3; //number of param's in function declaration, (counting from 1 not 0)
$arrayOfUndefinedArgs = array_slice( func_get_args() , $numberOfDefinedArgs );
}
?>
(Note: I haven't tested it yet to make sure it works
Edited: to fix syntax )