PHP 函数 ctype_alpha() PHP 函数 ctype_alnum() php do while 循环语句 PHP 函数 ctype_alpha() <?php $strings = array('example', 'example1234'); foreach ($strings as $test) { if (ctype_alpha($test)) { echo "$test consists of all letters. \n"; }else { echo "$test does not have all letters. \n"; } } ?> PHP 函数 ctype_alnum() php do while 循环语句