title: Is IF(integer) valid in PHP?
body: <p>I'm working through updating this PHP based website and I've noticed that there are a lot of these statements like</p>
  
  <pre><code>IF(foo['bar']){
      //Foo your Bars here
  }
  </code></pre>
  
  <p>For this rudimentary example, my analysis indicated that the value stored at <code>foo['bar']</code> is an integer.</p>
  
  <p>I distinctly remember learning in school that <code>value != 0</code> translates to TRUE when performing a boolean test - does this hold true in PHP as well?</p>