ID:               29489
 Updated by:       [EMAIL PROTECTED]
 Reported By:      e dot colinet at laposte dot net
-Status:           Open
+Status:           Wont fix
-Bug Type:         *General Issues
+Bug Type:         Feature/Change Request
 Operating System: any
 PHP Version:      5.0.0
 New Comment:

I see no reason to change this particular error message and leave about
1922 similar messages untouched.
You always can have a look at the appropriate docs and learn what
number of arguments this function expects.


Previous Comments:
------------------------------------------------------------------------

[2004-08-02 11:08:29] e dot colinet at laposte dot net

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 :-)

------------------------------------------------------------------------

[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

Reply via email to