looping through php array
<p>Can someone explain the logic behind this for loop... I just don't get it on how it goes into the next element, that <code>$from[$i]</code>, what is it doing? </p>

<pre><code>$start = 2;

$path = array();
for (; $i != $start; $i = $from[$i])
         $path[] = $i;
</code></pre>
