note 70391 deleted from function.ctype-digit by tularis
| From: | tularis@php.net | Date: | Sat, 05 May 2007 20:33:57 +0000 |
| Subject: | note 70391 deleted from function.ctype-digit by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126226@lists.php.net to get a copy of this message | ||
Note Submitter: kitchin
----
Confirming Crimson's bug in 4.3.10, Windows and Linux. It affects all the ctype_ functions.
It is caused by this bug handling large numbers,
http://bugs.php.net/bug.php?id=34645
fixed in 4.4.1. I tested Crimson's code in 4.4.4 Windows and it now works.
Also note ctype_ treats small integers as ASCII codes, not strings. So ctype_digit(109) is false,
but ctype_digit('109') is true. Large integers (>255) are treated as strings.