Is php switch statement bug?
<p>I have a problem want to know answer,
Why the following code will print A not default?</p>

<pre><code>$i = 0;
switch ($i) {
    case 'A':
        echo "i equals A"; //will printed it
        break;
    case 'B':
        echo "i equals B";
        break;
    case 'C':
        echo "i equals C";
        break;
    default:
       echo "i equals other";
}
</code></pre>

<p>Anyone can tell me why? I truely don't understand .
My PHP version is 5.2.17 
Theanks.</p>
