a more comprehensive set of PHP tutorials , basic video and some small combat projects, below is the video directoryCD-ROM (i) \php employment Class (I.)CD-ROM (i) \php Technical exchange zone. URLCD-ROM (i) \ "Wisdom Special issue" belongs to it
Usage of PHP function continue in the loop structure. The difference between the actual PHP function continue is that we accept an optional numeric parameter to decide to skip several repeated loops to the end of the loop. In php, continue is used
Example of using php loop statement to control break and continue
This article describes how to use php to jump out of the loop break and skip a certain layer of loop continue. For more information, see.This article will show you how to use
This article describes the use of PHP to jump out of the loop break, and skip a layer of cyclic continue specific usage, with the need for a friend reference.This article leads you to understand the use of break and continue, and their role in
This article provides a detailed analysis of the PHP bounce loop method and the differences between continue, break, and exit. For more information, see
This article provides a detailed analysis of the PHP bounce loop method and the differences
The following examples illustrate
Break is used to jump out of the current execution loop and no longer executes the loop.
Copy the Code code as follows:
$i = 0;while ($i if ($arr [$i] = = "Stop") {Break}$i + +;}?>
Continue immediately stops
PHP, a nested abbreviated name, is an abbreviation for the English Super Text preprocessing language (Php:hypertext preprocessor). PHP is an HTML embedded language, PHP and Microsoft's ASP quite a bit similar, is a server-side implementation of
The loop structure in PHP has roughly the for loop, while loop, do{} while loop, and the Foreach Loop, no matter which loop, there are several ways to jump out of the loop in PHP:Code:
Copy Code code as follows:
$i = 1;
while (true) {//This
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
Comparison of foreach and while loops in php. Foreach and while are both loops in php, so what is their difference between foreach and while loops, and that performance will be better, next, I will introduce the differences between foreach and while
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.