title: Php classes (I think)
body: <p>Is there a way to create a php class (or function) that "simplifies" this</p>
  
  <pre><code>ucfirst(str_replace('_',' ',html_entity_decode(trim($variable), ENT_QUOTES))));
  </code></pre>
  
  <p>The $variable could "come" from anywhere e.g a global from another function or just a "standard" variable</p>