Variable has unexpected value
<p>I got this problem. I don't know if I'm just too tired or if there is something not working.</p>

<p>My code is:</p>

<pre><code>$sX = ($nr == 1 or $nr == 4 or $nr == 7 ? "0" : ($nr == 2 or $nr == 5 or $nr == 8 ? "200" : "400"));
$sY = ($nr == 1 or $nr == 2 or $nr == 3 ? "0" : ($nr == 4 or $nr == 5 or $nr == 6 ? "200" : "400"));
</code></pre>

<p><code>$nr</code> is an integer in the range <code>[1..9]</code> (it's in a loop). Just right one row below this statement, I output this two vars. And then both of them are <code>"1"</code> or <code>null</code>. Why? I just can't see it :(</p>

<p>Thanks</p>

<p>Flo</p>
