http://qs321.pair.com?node_id=743966


in reply to Re^3: How foreach loops decide what to iterate through
in thread How foreach loops decide what to iterate through

The insight moment for me in this thread was getting when it is that an anonymous array is created and used (and therefore the loop is unaffected by modifications to the original array during its execution) as opposed to the original array itself being used during the loop.

Note to self: check copy of PBP to see if this is mentioned.


Find "This signature" for less on Ebay