php str uper first letter in string code example Example: php capitalize first letter ucfirst("hello world!");