ZEND_WRONG_PARAM_COUNT

(no version information, might be only in CVS)

ZEND_WRONG_PARAM_COUNT -- Generate standard error message for wrong parameter count in function or method call

Description

#include <zend_API.h>

void ZEND_WRONG_PARAM_COUNT ( void )

ZEND_WRONG_PARAM_COUNT() produces a standard warning message for functions or class methods that have been called with a wrong number of parameters. The macro automaticly puts the right function name and class name (if needed) into the error message.

ZEND_WRONG_PARAM_COUNT() is actually a convenience wrapper for zend_wrong_param_count().