title: Comparing int to string causes weird results in php?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/12248465/comparing-two-variables-returns-false-result">comparing two variables returns false result</a>  </p>
  </blockquote>
  
  
  
  <pre><code>&lt;?php
  if( "32 is this a bug of php " == 32)
     echo "true";
  else
     echo "false";
  ?&gt;
  </code></pre>
  
  <p>output is :</p>
  
  <pre><code>true
  </code></pre>
  
  <p>you can see its output at 
  <a href="http://codepad.org/hgOisqZ8" rel="nofollow noreferrer">http://codepad.org/hgOisqZ8</a></p>
  
  <p>why this condition is evaluated as true?</p>