From professional translators, enterprises, web pages and freely available translation repositories.
$arr = array ('uno', 'due', 'tre', 'quattro', 'stop', 'cinque'); while (list (, $val) = each ($arr)) {if ($val == 'stop') {break; / * qui si può anche usare 'break 1 ;'. * /} echo "$val br \n";} / * uso dell'argomento opzionale. * / $i = 0; while (++$i) {switch ($i) {case 5: echo "at 5 br \n"; break 1; / * interrompe solo awitch. * / case 10: echo "at 10; quitting br \n"; break 2; / * interrompe switch e while. * / default: break;}}
break では、オプションの引数で ネストしたループ構造を抜ける数を指定することができます。