note
Belgarion
<p>
The comma operator in this case is presenting a list of three elements to the initializer of the <tt>for</tt> operator. If you had something like this:
<code>
for ($i=3, $i=2, $i=1, $i=0)
</code>
you would get four lines, because there are four elements.
</p>
<p>It is printing "1" for each input because the initializer list is evaulated before the iteration. Therefore, <tt>$i</tt> is set to one before the <tt>for</tt> operator iterates over the three element list.
</p>
347092
347092