ң

func_num_args

(PHP 4)

func_num_args - , .

int func_num_args (void)

, . func_num_args() , .

<?php function foo() { $numargs = func_num_args(); echo "Number of arguments: $numargs\n"; } foo (1, 2, 3); // 'Number of arguments: 3' ?>

func_num_args() func_get_arg() func_get_args() , () .


ң
func_get_args function_exists