From: guth at fiifo dot u-psud dot fr Operating system: PHP version: 5CVS-2004-10-10 (dev) PHP Bug Type: Unknown/Other Function Bug description: Random results with ctype_digit
Description: ------------ See the following code : Reproduce code: --------------- echo "<?php var_dump(ctype_digit(1)) ?>" | php echo "<?php var_dump(ctype_digit(1000000000)) ?>" | php Expected result: ---------------- The prototype of this function is bool ctype_digit ( string text), so i expected : bool(false) bool(false) Actual result: -------------- bool(false) bool(true) -- Edit bug report at http://bugs.php.net/?id=30378&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30378&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30378&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30378&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30378&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30378&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30378&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30378&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30378&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30378&r=support Expected behavior: http://bugs.php.net/fix.php?id=30378&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30378&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30378&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30378&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30378&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30378&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30378&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30378&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30378&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30378&r=mysqlcfg