#36074 [NEW]: Offer to upgrade ctype_alnum() function

From: Date: Wed, 18 Jan 2006 22:22:18 +0000
Subject: #36074 [NEW]: Offer to upgrade ctype_alnum() function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92154@lists.php.net to get a copy of this message
From: 10cent at mail dot ru Operating system: all PHP version: 5.1.2 PHP Bug Type: Unknown/Other Function Bug description: Offer to upgrade ctype_alnum() function Description: ------------ I think, that's good idea to add the second parameter to ctype_alnum() function. See: bool ctype_alnum ( string text [, string register] ) Default "i". Also may be "u" and "l". i - ignore register u - uppercase l - lowercase ctype_alnum($string, "i") equivalent preg_match("/^[0-9A-z]*$/", $string) ctype_alnum($string, "u") equivalent preg_match("/^[0-9A-Z]*$/", $string) ctype_alnum($string, "l") equivalent preg_match("/^[0-9a-z]*$/", $string) Sorry for my bad english. -- Edit bug report at http://bugs.php.net/?id=36074&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36074&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36074&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36074&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36074&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36074&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36074&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36074&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36074&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36074&r=support Expected behavior: http://bugs.php.net/fix.php?id=36074&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36074&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36074&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36074&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36074&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36074&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36074&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36074&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36074&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36074&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36074&r=mysqlcfg

« previous php.bugs (#92154) next »