How to Traverse an array in PHP and print?

The most common task with arrays is to do something with every element—for instance, sending mail to each element of an array of addresses, updating each file…