The foreach construct provides an easy way to iterate over arrays. foreach ... The first form loops over the array given by array_expression. ..... array (size=2)
us2.php.net