Menu Home

func_get_args

osbo.com | PHP | Functions | func_get_args

Returns an array comprising a function's argument list

Syntax

func_get_args ( void ) : array

Return

Returns an array in which each element is a copy of the corresponding member of the current user-defined function's argument list.

Examples

0:a
1:b
2:c

PHP