ucfirst, short for 'Upper Case First', is a function which replaces the first letter of words in a string by their uppercase equivalent.
ucfirst
(short for Upper Case First is a php function for making a string's first character uppercase. For more details, see the PHP manual page.