ctype_print
PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
ctype_print - Check for printable character(s)
Code Examples
Example #1 A ctype_print example
Result: The string 'string1' does not consist of all printable characters.
The string 'string2' consists of all printable characters.
The string 'string3' consists of all printable characters.