1
Function-based ucfirst, but instead of converting only the first letter of the first word, how to do it, using PHP, so that the first letter of all words in a string are capitalized?
Thus, following the pattern of "full name", example:
'joão silva' => 'João Silva'
'maria Silva' => 'Maria Silva'
'gustavo da silva' => 'Gustavo Da Silva'
'GUILHERME DE CAMPOS' => 'Guilherme De Campos'