Для чего люди используют each ($ array) ?
each ($ array)
http://theserverpages.com/php/manual/en/function.each.php