title: PHP - Add variable to switch statement value
body: <p>I have the following switch statement: </p>
  
  <pre><code>$html = '&lt;div class="'. $some_value . '"&gt;';
  
  switch ($some_value) {
      case "one":
          return $html . 'One Biscuit&lt;/div&gt;';
          break;
      case "two":
          return $html . 'Two Chimps&lt;/div&gt;';
          break;
      case "three":
          return $html . 'Three Pies&lt;/div&gt;';
          break;
      default:
          return $html . 'Meh...&lt;/div&gt;';
  }
  </code></pre>
  
  <p>Noticed how I added the <code>$html</code> variable to each case? Not good... Is it possible to add it just once to the final value of the switch statement? I'm trying to wrap the final value in the dynamic HTML. </p>