Skip to content

Glossary: PHP Basics

foreach

A loop that runs its block once for each item of an array, putting the current item (and optionally its key) in variables.

Where the book teaches it

Related terms

looparray