Swich en PHP

switch (n) {
  case label1:
    executed if n=label1;
    break; # jump out of the switch 
  case label2:
    executed if n=label2;
    break;# jump out of the switch 
  case label3:
   executed if n=label3;
    break;# jump out of the switch 
    ...
  default:
     executed if n is not equal to any of the lables;
}
Natnael birhanu