Not sure what you mean. The foreach has to run in both cases.