Loops

@while

Loop over a block of code while the loop expression is true.

@while (expression) {
	loop block
}

@foreach

Loop over an array, assigning the value of the current index to the specified identifier on each iteration.

@foreach identifier (array) {
	loop block
}