float 0 returns as empty string in php
<p>could anyone explain why float 0 is empty? The code below will show "weird"</p>

<pre><code>$empty = (float)"0";
if($empty == "")
  echo "weird";
</code></pre>

<p>On the other hand if i were to the code below, it will never show "weird".</p>

<pre><code>$empty = (float)"0.01";
if($empty == "")
  echo "weird";
</code></pre>
