ID:               35526
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      Irrelevant
 New Comment:

Patch updated on 2005-12-02 15:55 EST (GMT -500).
Updated patch includes changelog for reference.xml. 

As recommended by Daniel Convissor, "Seems like an explanation of the
pre-5.1 and post-5.1 return values would be most helpful in the
returnvalues refsect." This is not included in the patch. If there is a
sample of what this type of change might look like, please point me to
it and I will add it to the patch file.


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

[2005-12-02 20:36:18] [EMAIL PROTECTED]

Description:
------------
The ctype_* functions were updated in 5.1 to return false when passed
an empty string. The documentation does not reflect this change. 

A patch for the docs can be found at:
http://crisscott.com/tmp/ctype_5_1.patch

Reproduce code:
---------------
var_dump(ctype_digit(''));

Expected result:
----------------
According to documentation:
bool(true)

Actual result:
--------------
bool(false)


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


-- 
Edit this bug report at http://bugs.php.net/?id=35526&edit=1

Reply via email to