Register now or log in to join your professional community.
Implement PHP functions with a variable number of arguments. func_get_args() returns the passed arguments as an array.
func_get_args() returns an array comprising a function's argument list. You may see its complete detail: http://pk1.php.net/func_get_args
Gets an array of the function's argument list.
This function may be used in conjunction with func_get_arg() and func_num_args() to allow user-defined functions to accept variable-length argument lists.