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.
Returns an array in which each element is a copy of the corresponding member of the current user-defined function's argument list.
Notatka: Jako że działanie tej funcji zależy od aktualnego zasięgu, nie może ona być użyta jako parametr funkcji. Jeśli konieczne jest przekazanie tej wartości, należy przypisać wynik działania tej funkcji do zmiennej, a następnie, jako parametr, przekazać tą zmienną.
Notatka: This function returns a copy of the passed arguments only, and does not account for default (non-passed) arguments.
Poprzedni | Spis treści | Następny |
func_get_arg | Początek rozdziału | func_num_args |