ctype_alnum

Check for alphanumeric character(s) (PHP 4 >= 4.0.4)
bool ctype_alnum ( string text )

Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise. In the standard C locale letters are just [A-Za-z]. The function is equivalent to (ctype_alpha($text) || ctype_digit($text)).

See also ctype_alpha(), ctype_digit(), and setlocale().

This HTML Help has been published using the chm2web software.