php uppercase first letter of sentence code example Example: php capitalize first letter ucfirst("hello world!");