From: avarab at gmail dot com Operating system: GNU/Linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: The documentation for ctype regarding the passing of integer values is confusin
Description: ------------ The ctype documentation (http://www.php.net/ctype) states that: "If the number is between -128 (inclusive) and 0 then 256 will be added and the check will be done on that." First of all (inclusive) shouldn't be in parentheses because they should only contain superfluous information, which isn't the case here, furthermore it's unlclear at first, at least to me, whether "inclusive" applies for the whole range or just the start of it as is the case. The documentation should be changed to: "If the number is between -128 and -1 inclusive then 256 will be added and the check will be done on that." Which is less confusing and doesn't place essential information in parentheses. -- Edit bug report at http://bugs.php.net/?id=35873&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35873&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35873&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35873&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35873&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35873&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35873&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35873&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35873&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35873&r=support Expected behavior: http://bugs.php.net/fix.php?id=35873&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35873&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35873&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35873&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35873&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35873&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35873&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35873&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35873&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35873&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35873&r=mysqlcfg
