sentence: most use the simple word for , roughly as follows : for each item in collection : do something to item language support some of the languages with support for foreach loops include abc , actionscript , ada , c++11 , c# , cfml , cobra , d , daplex ( a query language ) , ecmascript , java ( since 1.5 , using the reserved word for for the for loop and the foreach loop ) , javascript , objective-c ( since 2.0 ) , parasail , perl , php , python , realbasic , ruby , smalltalk , swift , tcl , tcsh , unix shell , visual basic .net and windows powershell .