PHP文字列ucwords
ucfirst

ucwords文字列

str_split

各単語の最初の文字を大文字に変換します。

構文

ucwords(string $string): string