title: Make all words lowercase and the first letter of each word uppercase
body: <p>I have a string with improper capitalization scattered like below:</p>
  <pre><code>$str = &quot;tHis iS a StRinG thAt NeEds ProPer CapiTilization&quot;;
  $newStr = ucfirst($str);
  echo $newStr;
  </code></pre>
  <p>How would I be able to capitalize the first letter of each word and lower case the incorrectly capitalized letters?  I need the string to be fully title case.</p>
  <p>I know I can change to lower and then use <code>ucwords()</code> but is there a shorter way to do this?</p>