if ($variable == $type) not working properly
<p>I write:</p>

<pre><code>$type = "+";

if($max == $type):  

   echo "It's ok";

endif;
</code></pre>

<p>But if <code>$max</code> equal <code>0</code>, the condition don't work and print "It's ok". But if I write:</p>

<pre><code>$type = "+" ;      

if($max === $type): 

   echo "It's ok";

endif;
</code></pre>

<p>That works, and I don't understand why?</p>
