PHP: If statement issue
<p>The array <code>resAlloc</code> contains 10 columns and 5 rows. All entries are equal to 0. So, I expect the following IF statement be TRUE, but it's false for some reason... Why?</p>

<pre><code>if ($resAlloc[$i][$j] != 'ts' &amp;&amp; $resAlloc[$i][$j] != 't' &amp;&amp; $resAlloc[$i][$j] != 'st') {
    $count++;
}
</code></pre>
