(PHP 4 >= 4.0.4, PHP 5, PHP 7)
Check for control character(s)
bool ctype_cntrl ( string $text )
Checks if all of the characters in the provided string, text, are control characters. Control characters are e.g. line feed, tab, escape.
Parameters:
text
The tested string.
Returns:
Returns TRUE if every character in text is a control character fro