PHP - I get true on (0=='undefined') , why?
<p>if you run this code:</p>

<pre><code>if ( 0=='undefined') echo 'true'; else echo 'false';
</code></pre>

<p>you get 'true' which means int 0 equals the string 'undefined'.</p>

<p>Why is that? what am I missing here?</p>
