How to use continue in PHP?
Continue is used within looping in order to skip the rest part of the current loop iteration.It further continue execution at the condition and then the beginning of the next iteration.
//To print numbers divisible by 5 from 1 to 25
echo 'list of number divisible by 5';
if (!($x / 10)==0)
echo $x.'<br />';
/*Output of the above program is:
list of number divisible by 5, 5