Exibir a lista drop-down

ucwords()

« ucfirst | uksort »
<?php
$string 
ucwords (
    
  // string $str
);
?>
resultado
$string = 'Hello World!'
Exemplos
#1 ucwords  ("hello world!")
#2 ucwords  ("HELLO WORLD!")
Veja também
mb_convert_case, strtolower, strtoupper, ucfirst