colder Wed Sep 6 12:42:53 2006 UTC
Modified files: /phpdoc/en/language control-structures.xml Log: Fix #38723 (Parentheses are not required) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.134&r2=1.135&diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.134 phpdoc/en/language/control-structures.xml:1.135 --- phpdoc/en/language/control-structures.xml:1.134 Mon Aug 7 13:08:46 2006 +++ phpdoc/en/language/control-structures.xml Wed Sep 6 12:42:52 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.134 $ --> +<!-- $Revision: 1.135 $ --> <chapter id="language.control-structures"> <title>Control Structures</title> @@ -1191,10 +1191,8 @@ <simpara> Note that since <function>return</function> is a language construct and not a function, the parentheses surrounding its - arguments are <emphasis>only</emphasis> required if the argument - contains an expression. It is common to leave them out while returning a - variable, and you actually should as PHP has less work to do in this - case. + arguments are not required. It is common to leave them out, and you + actually should do so as PHP has less work to do in this case. </simpara> </note> <note>