See also Re: can we pass two variable to foreach loop.
In reply to Re: iterating 2 arrays in parallel by ambrus in thread iterating 2 arrays in parallel by Anonymous Monk