Jisho

×
Foreach
Wikipedia definition
1. Foreach loopFor each (or foreach) is a computer language idiom for traversing items in a collection. Foreach is usually used in place of a standard for statement. Unlike other for loop constructs, however, foreach loops usually maintain no explicit counter: they essentially say "do this to everything in this set", rather than "do this x times". This avoids potential off-by-one errors and makes code simpler to read.
Read “Foreach loop” on English Wikipedia
Read “Foreach文” on Japanese Wikipedia
Read “Foreach loop” on DBpedia

Discussions

to talk about this word.