PHP 函数 ctype_upper() PHP 函数 ctype_space() PHP 函数 ctype_xdigit() PHP 函数 ctype_upper() <?php $strings = array('test12345', 'ABCEFG'); foreach ($strings as $test) { if (ctype_upper($test)) { echo "$test consists of all uppercase letters. \n"; }else { echo "$test does not have all uppercase letters. \n"; } } ?> PHP 函数 ctype_space() PHP 函数 ctype_xdigit()