The 'equivalent' preg_match given here is not truly equivalent. If the variable is null or the empty string, the results differ.
![]() | ctype_alnum说明bool ctype_alnum ( string text )Checks if all of the characters in the provided string, text, are alphanumeric. In the standard C locale letters are just [A-Za-z] and the function is equivalent to preg_match('/^[a-z0-9]*$/i', $text). 范例
![]()
mail at fredemmott dot co dot uk
27-May-2006 08:26
The 'equivalent' preg_match given here is not truly equivalent. If the variable is null or the empty string, the results differ.
| ![]() |