|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-18 23:49 UTC] tony2001@php.net
[2006-01-19 13:09 UTC] 10cent at mail dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 13:00:01 2025 UTC |
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.