title: Whats the difference between evaluating a string vs an integer in PHP?
body: <p>I have a curious question that I ran into recently. </p>
  
  <pre><code> if($somestring != "" &amp;&amp; $somestring &gt; 0){
    // do something.
   }
  </code></pre>
  
  <p>My questions is, are these 2 check the same thing? Doesn't a string when converted to an INT always greater than 0 in PHP? Or can a string evaluate to 0?</p>