PHP Manual
Prev | Chapter 11. Control Structures | Next

# `continue`

`continue` is used within looping structures to skip the rest of the current loop iteration and continue execution at the beginning of the next iteration.

     while (list($key,$value) = each($arr)) {
         if ($key % 2) { // skip even members
             continue;
         }
         do_something_odd ($value);
     }

Prev | Home | Next
`break` | Up | `switch`