PHP: zend_wrong_param_count - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

zend_zval_type_name zend_ustrndup

Last updated: Sat, 27 Jan 2007

view this page in

# zend_wrong_param_count

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

## Описание

#include <zend_API.h>

void zend_wrong_param_count ( magic TSRMLS_D )

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 function automaticly puts the right function name and class name (if needed) into the error message.

Usually the ZEND_WRONG_PARAM_COUNT() and ZEND_WRONG_PARAM_COUNT_WITH_RETVAL() macros are used to invoke this function instead of calling it immediately as this saves typing the TSRMLS_C argument.

## Список параметров

`TSRMLS_D`

  Thread context

add a note User Contributed Notes
zend_wrong_param_count
There are no user contributed notes for this page.
zend_zval_type_name zend_ustrndup

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST