PHP switch function doesn't recognize "less than 0"
<pre><code>$bytes = 0;
switch($bytes){
    case $bytes == 0:
        echo 'Equal to 0.';
    break;
    case $bytes &lt; 0:
        echo 'Less than 0.';
    break;
}
</code></pre>

<p>This outputs "Less than 0."</p>

<p>Why?</p>
