toUpper the first letter of a char in php code example Example: php uppercase first letter ucfirst($myword);