ucwords (PHP 3>= 3.0.3, PHP 4 )ucwords -- 문자열에 있는 각 단어의 처음 글자를 대문자로 바꾼다. string ucwords ( string str) str의 각각의 단어의 첫문자가 알파벳이라면 그 글자를 대문자로 바꾼다. 예 1. ucwords() 예$text = "mary had a little lamb and she loved it so."; $text = ucwords($text); // $text 는 : Mary Had A Little Lamb And She Loved It So. 이 된다.