Weird behavior of PHP
<p>according to :</p>

<pre><code>$ php -a
Interactive shell

php &gt; var_dump("0" != 0); 
bool(false)
php &gt; var_dump(0 != null);
bool(false)
php &gt; var_dump("0" != null);
bool(true)
</code></pre>

<p>can you explain why the last assertion is true ?</p>

<p>By the way, it is PHP cli 5.3.6.</p>
