ctype_alnum()
ctype_alnum(string|integer $text) : boolean
Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.
Parameters
string|integer | $text |
Ctype implementation through regex.
ctype_print(string|integer $text) : boolean
Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.
string|integer | $text |
ctype_space(string|integer $text) : boolean
Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.
string|integer | $text |
convert_int_to_char_for_ctype(string|integer $int) : mixed
Converts integers to their char versions according to normal ctype behaviour, if needed.
If an integer between -128 and 255 inclusive is provided, it is interpreted as the ASCII value of a single character (negative values have 256 added in order to allow characters in the Extended ASCII range). Any other integer is interpreted as a string containing the decimal digits of the integer.
string|integer | $int |