Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
$i = 1; while($i++) { switch($i) { case 3: echo "i = 3<br />"; break 1; // Exit from the switch case 7: echo "i = 7<br />"; break 2; // Exit from the switch and the while default: break; } } /* run: i = 3 i = 7 */