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?
if(ctype_upper(&value)){ echo 'uppercase'; } else { echo 'not upper case'; }