Can you explain the difference please?
(not doubting you, i just dont actually know)
I take back my "iteration is more related to collections of objects" post. That is incorrect. I just do all of my coding with objects and didn't give the post any thought. You can think of an iteration as a loop with a concrete termination point. You may have reached the end of whatever collection you were looping over (foreach) or your index value has reached the limit (for) whereas a loop has whatever termination point you specify (while). You may terminate because you've encountered a certain string value or whatever. It is kinda splitting hairs though. That's my take on it anyway.