Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
break statement « Statement « PHP
PHP
Statement
break statement
1.
Break statement
2.
Breaking a Loop
3.
Using the break Statement
4.
Break 1 or break 2
5.
Break Statement
6.
Using the break Statement
7.
The break command applies to both loops and switch/case statements
8.
break within a for loop
9.
Using break to avoid division by zero