in reply to foreach and arrays

foreach() itterates from one element to the successive element. In order for there to be a successor, there must be a semblance of order, so it's sequentially.

Further, foreach() is a synonym for for(), and for
for $index (0 .. $somenumber) { ... };
to work as you expect, it has to be sequential.

At least, that's to my understanding. :)

Hope this helps!

--jwest
-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7