break
break は、現在実行中の for , foreach , while , do-while , switch 構造の実行を終了します。
break では、オプションの引数で ネストしたループ構造を抜ける数を指定することができます。
$arr = array ('one', 'two', 'three', 'four', 'stop', 'five');
|
break は、現在実行中の for , foreach , while , do-while , switch 構造の実行を終了します。
break では、オプションの引数で ネストしたループ構造を抜ける数を指定することができます。
$arr = array ('one', 'two', 'three', 'four', 'stop', 'five');
|