in reply to
Re^2: Passing multiple arrays to foreach loop
in thread Passing multiple arrays to foreach loop
It was not "trouble", and actually not a bad question, but learning to write small test programs to check your understanding is a very useful art. The same art applies when the question grows beyond anything one can answer for oneself, but then the art morphs into being able to create a small focused test script that others can use as a test bed for understanding your issue and providing a solution.
True laziness is hard work