exit_loopstatement will terminate the current loop.
loop_exitmay be used. Both variants work identically.
exit_loopstatement will immediately terminate the current loop and script execution will jump to the statement following the
}at the end of the current loop.
This can be done even if the
exit_loop statement is within one or more if constructs inside the loop.
If no loop is in effect then an error will be logged and the script will terminate.