php first letter upper case code example Example: php capitalize first letter ucfirst("hello world!");