Continue is used within looping structures to skip the rest of the current loop iteration and continue execution at the condition evaluation and then the beginning of the next iteration.
<?php
$i = 10;
while (--$i)
{
if ($i==8)
{
continue;
}
if ($i==5)
{
break;
}
echo $i."\n";
}
?>
9 7 6