php is / switch statement check with '0' string or '00' string
<p>I have an idiot question but I'm stuck.</p>

<p>here is my simply code</p>

<pre><code>$my_string = '00';

switch ((string)$my_string)
{
    case '-1': $return_string = 'bla bla..'; break;
    case '0': $return_string = 'One zero'; break;
    case '00': $return_string = 'Double zero'; break;
    default: $return_string = 'default'; break;
}

echo $return_string;
</code></pre>

<p>The result of the code before returns </p>

<pre><code>One Zero
</code></pre>

<p>any suggestions ?</p>
