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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php