Stump of a Muffin

Simple Iteration

Jamie came across this beauty:

foreach ((array)$myArray as $key => $val) {
 // Whatever code here.
}

Never get caught again without an array.

Comments are closed.