mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
improved for new notes on bug #36877
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210404 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
17315f5bce
commit
89359925e1
1 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.132 $ -->
|
||||
<!-- $Revision: 1.133 $ -->
|
||||
<chapter id="language.control-structures">
|
||||
<title>Control Structures</title>
|
||||
|
||||
|
@ -411,8 +411,11 @@ for (expr1; expr2; expr3)
|
|||
evaluated (executed).
|
||||
</simpara>
|
||||
<simpara>
|
||||
Each of the expressions can be empty, expr1 and expr3 may contain multiple
|
||||
expressions separated by commas.
|
||||
Each of the expressions can be empty or contain multiple
|
||||
expressions separated by commas. Comma separated expressions in expr2
|
||||
are treated similarly to being separated by the <link
|
||||
linkend="language.operators.logical">|| operator</link> but has a
|
||||
lower precedence than ||.
|
||||
<varname>expr2</varname> being empty means the loop should
|
||||
be run indefinitely (PHP implicitly considers it as
|
||||
&true;, like C). This may not be as useless as
|
||||
|
|
Loading…
Reference in a new issue