php make all first letters uppercase code example
Example 1: first character uppercase php
ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
Example 2: php capitalize first letter
ucfirst("hello world!");
ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
ucfirst("hello world!");