title: PHP switch case default
body: <p>Will the default of a switch statement get evaluated if there's a matching case before it?</p>
  
  <p>ex:</p>
  
  <pre><code>switch ($x) {
    case ($x &gt; 5): print "foo";
    case ($x%2 == 0): print "bar";
    default: print "nope";
  }
  </code></pre>
  
  <p>so for x = 50, you'd see <code>foo</code> and <code>bar</code>, or <code>foo</code> and <code>bar</code> and <code>nope</code>?</p>