Display the drop-down list

ucwords()

« ucfirst | uksort »
<?php
$string 
ucwords (
    
  // string $str
);
?>
Result
$string = 'HELLO WORLD!'
Examples
#1 ucwords  ("hello world!")
#2 ucwords  ("HELLO WORLD!")
See also
mb_convert_case, strtolower, strtoupper, ucfirst