|
||||||||||||
|
|
||||||||||||
BreakBreak may occur only as long as there is at least one enclosing statement of the type block, do, for, foreach, while, or switch. Break targets to the innermost statement of a given type, or if a label is given, to the enclosing statement referred to by the label. Break will terminate execution of the target statement, executing passed finally statements before actually leaving the target statement. break := "break" [ symbollabel ] [ stmt-modifier ] ";"
See also
| Statements
| Simple statements
| Do .. while
| For
| Foreach
| Switch
| While
| <break>
| Statement modifiers
| Statement labels
| Grammar
|
||||||||||||
|
|
||||||||||||