PHP 函数 ctype_cntrl() php do while 循环语句 PHP 函数 ctype_digit() PHP 函数 ctype_cntrl() <?php $strings = array('\n\r\t', 'example1234r'); foreach ($strings as $test) { if (ctype_cntrl($test)) { echo "$test consists of all control characters. \n"; }else { echo "$test does not have all all control characters. \n"; } } ?> php do while 循环语句 PHP 函数 ctype_digit()