I have texts in UTF-8 with diacritic characters also, and would like to check if first letter of this text is upper case or lower case. How to do this?
What about just:
if (ucfirst($string) == $string) {dosomething();}