Menu Riverview Church

FUNC_GET_ARG

Return an item from the argument list

SYNTAX

func_get_arg ( int $arg_num ) : mixed

PARAMETERS

arg_num

The argument offset. Function arguments are counted starting from zero.

RETURN

Returns the specified argument, or FALSE on error.

EXAMPLES

1

a

2

0:a
1:b
2:c

PHP