title: make switch use === comparison not == comparison In PHP
body: <p>Is there anyway to make it so that the following code still uses a switch and returns <code>b</code> not <code>a</code>? Thanks!</p>
  
  <pre><code>$var = 0;
  switch($var) {
      case NULL : return 'a'; break;
      default : return 'b'; break;
  }
  </code></pre>
  
  <p>Using if statements, of course, you'd do it like this:</p>
  
  <pre><code>$var = 0;
  if($var === NULL) return 'a';
  else return 'b';
  </code></pre>
  
  <p>But for more complex examples, this becomes verbose.</p>