ctype_cntrl

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
ctype_cntrl - Check for control character(s)
Manual
Code Examples

Example #1 A ctype_cntrl example

Result: The string 'string1' consists of all control characters. The string 'string2' does not consist of all control characters.
PHP Version:


Function ctype_cntrl:

Character type checking Functions

Most used PHP functions