ID:               36074
 Updated by:       [EMAIL PROTECTED]
 Reported By:      10cent at mail dot ru
-Status:           Open
+Status:           Wont fix
-Bug Type:         Unknown/Other Function
+Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      5.1.2
 New Comment:

No need to duplicate functionality 100+ times.
Also, isalnum() function (which is actually stands behind the
ctype_alnum()) doesn't have such parameters - see `man isalnum`.


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

[2006-01-18 23:22:18] 10cent at mail dot ru

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 this bug report at http://bugs.php.net/?id=36074&edit=1

Reply via email to