PHP break
Last Updated: July 31, 2021
Control flow with a break statement
You can terminate the execution of for
, while
, do while
, foreach
and you can use break
keyword to get out from the switch
statement