ZEND_NUM_ARGS

ZEND_NUM_ARGS -- ...

说明

#include <zend_API.h>

int ZEND_NUM_ARGS ( void )

ZEND_NUM_ARGS() returns the number of arguments that have been passed by the caller of the current PHP function.

返回值

Number of arguments passed to the current PHP function.