simp Thu Mar 30 15:01:11 2006 UTC
Modified files:
/phpdoc/en/language control-structures.xml
Log:
improved for new notes on bug #36877
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/control-structures.xml?r1=1.132&r2=1.133&diff_format=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.132
phpdoc/en/language/control-structures.xml:1.133
--- phpdoc/en/language/control-structures.xml:1.132 Thu Mar 30 02:09:58 2006
+++ phpdoc/en/language/control-structures.xml Thu Mar 30 15:01:11 2006
@@ -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 @@
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