$str = "Mary Had A Little Lamb and She LOVED It So"; $str = mb_strtoupper($str); print $str; # Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
For more information about the Unicode properties, please see http://www.unicode.org/unicode/reports/tr21/.