func_get_args

func_get_args

(PHP 4, PHP 5, PHP 7)

func_get_argsReturns an array comprising a function's argument list

Description

array func_get_args ( void )

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.