cvs: phpdoc /en/language control-structures.xml
| From: | Ali | Date: | Fri, 15 Aug 2003 10:42:24 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969355789@lists.php.net to get a copy of this message | ||
ali Fri Aug 15 06:42:24 2003 EDT
Modified files:
/phpdoc/en/language control-structures.xml
Log:
fixing bug #20739
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.78
phpdoc/en/language/control-structures.xml:1.79
--- phpdoc/en/language/control-structures.xml:1.78 Fri Jun 13 07:00:03 2003
+++ phpdoc/en/language/control-structures.xml Fri Aug 15 06:42:23 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.78 $ -->
+<!-- $Revision: 1.79 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@@ -1096,9 +1096,8 @@
<simpara>
Note that since <function>return</function> is a language
construct and not a function, the parentheses surrounding its
- arguments are <emphasis>not</emphasis> required--in fact, it is
- more common to leave them out than to use them, although it
- doesn't matter one way or the other.
+ arguments are <emphasis>only</emphasis> required if the argument
+ contains an expression. It is common to leave them out while returning a variable.
</simpara>
</note>
</para>