This article describes arrays in PHP.
...
You can iterate through arrays in various ways.
Example using while():
while()
<?php while (list($var, $val) = each($array)) { print "$var is $val\n"; } ?>
Iteration: