ID: 29489 User updated by: e dot colinet at laposte dot net Reported By: e dot colinet at laposte dot net Status: Open Bug Type: *General Issues Operating System: any PHP Version: 5.0.0 New Comment:
It's in ext/standard/type.c function php_is_type. Line 209 > php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only one argument expected"); < php_error_docref(NULL TSRMLS_CC, E_WARNING, "Wrong parameter count"); Not so important but it's confusing :-) Previous Comments: ------------------------------------------------------------------------ [2004-08-02 11:03:19] e dot colinet at laposte dot net Description: ------------ Wrong error text when no arguments provided to is_* functions. Reproduce code: --------------- php -r "is_array();" Expected result: ---------------- Wrong parameter count for is_array() Actual result: -------------- Only one argument expected ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29489&edit=1