$type = 1;
while($type<5){
switch($type){
case 1:
break 1;//跳出switch流程
case 2:
break 2; //会跳出while循环
case 3:
break;
}
}
记录php学习日志
$type = 1;
while($type<5){
switch($type){
case 1:
break 1;//跳出switch流程
case 2:
break 2; //会跳出while循环
case 3:
break;
}
}