title: Why "switch(true){}" in php with a strange logic?
body: <pre><code>switch(false) {
      case 'blogHitd':
          echo('ddd');
          break;
      case false:
          echo('bbbb');
          break;
      default:
          echo 'alert("error action");';
   }
  </code></pre>
  
  <p><em>-------output------</em></p>
  
  <p><em>bbbb</em></p>
  
  <pre><code>switch(true) {
      case 'blogHitd':
          echo('ddd');        
          break;
      case true:
          echo('bbbb');
          break;
       default:
          echo 'alert("error action");';
   }
  </code></pre>
  
  <p><em>-------a strange output-------</em></p>
  
  <p><em>ddd</em></p>
  
  <p>Why, when I pass the value of <code>true</code> it will always select the first one?</p>