cvs: phpdoc /en/language control-structures.xml
| From: | Jakub Vrana | Date: | Wed, 21 Nov 2007 16:59:33 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-423@lists.php.net to get a copy of this message | ||
vrana Wed Nov 21 16:59:33 2007 UTC
Modified files:
/phpdoc/en/language control-structures.xml
Log:
Clarification of comma in for
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.156&r2=1.157&diff_format=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.156
phpdoc/en/language/control-structures.xml:1.157
--- phpdoc/en/language/control-structures.xml:1.156 Wed Nov 21 16:58:20 2007
+++ phpdoc/en/language/control-structures.xml Wed Nov 21 16:59:33 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.156 $ -->
+<!-- $Revision: 1.157 $ -->
<chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Control Structures</title>
@@ -416,7 +416,8 @@
<simpara>
Each of the expressions can be empty or contain multiple
expressions separated by commas. In <varname>expr2</varname>, all
- expressions are evaluated but the result is taken from the last part.
+ expressions separated by a comma are evaluated but the result is taken
+ from the last part.
<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