Possible Duplicate:
PHP get all arguments as array?
Within a javascript function arguments always points to to an array-like object containing the function’s parameters. Does php have something similar so I can easily var_dump() all a function’s arguments?
Function func_get_args would do the trick.
The above example will output: