Onetastic Macro Documentation >
>
foreach
foreach Statement
Description
Iterates over a given array, stores each element in the array in the given variable and executes a set of for each iteration. You can break out of a foreach loop using a break statement or skip to the next iteration using a continue statement.
Syntax
foreach ($variable in array-expression)
Statements...
See Also
|