title: How to use switch with integer 0 in PHP?
body: <p>having the integer 0 as switch parameter will take the first result "foo":</p>
  
  <pre><code>$data=0; // $data is usually coming from somewhere else, set to 0 here to show the problem
  switch ($data) :
      case "anything":
          echo "foo";
          break;
      case 0:
          echo "zero";
          break;
      default: 
          echo "bar";
  endswitch;
  </code></pre>
  
  <p>How do I change this, so the switch will write "zero" as expected?</p>