$mychar = 'M'; if (ctype_upper($mychar)) { print "$mychar is uppercase\n"; }
Programming Tips - PHP: Check if a character is uppercase in php
Date: 2010apr20
Language: php
Q. PHP: Check if a character is uppercase in php
A. Like this: