Strange behaviour on if into a for
<p>I have this code :</p>

<pre><code>for($nrt=0; $nrt&lt;$actualline; $nrt++) {
    echo $sidesIndexes[$nrt]." - ".$nrt."&lt;br/&gt;";
    if($sidesIndexes[$nrt]==$nrt) {
        echo "am I in??? ".$sidesIndexes[$nrt]." is different than ".$nrt."&lt;br/&gt;";
    }
}
</code></pre>

<p>that print :</p>

<pre><code># - 0
am I in??? # is different than 0
# - 1
# - 2
# - 3
# - 4
# - 5
# - 6
# - 7
# - 8
# - 9
# - 10
# - 11
# - 12
# - 13
# - 14
# - 15
# - 16
# - 17
# - 18
# - 19
</code></pre>

<p>am I tired? How is possible to get that <code>am I in??? # is different than 0</code> message? </p>
