Source Code:
(back to article)
<?php for ($i = 10; $i <= 15; $i++) { switch ($i) { case 10: echo "Ten"; break; case 11: continue 2; case 12: echo "Twelve"; break; case 13: echo "Thirteen"; break; case 14: continue 2; case 15: echo "Fifteen"; break; } echo "<br> Below switch, and i = " . $i . ' <br><br> '; } ?>
Result:
Report an issue