svn: /phpdoc/en/trunk/language/ functions.xml
| From: | Hannes Magnusson | Date: | Mon, 23 Nov 2009 21:01:56 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ functions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5558@lists.php.net to get a copy of this message | ||
bjori Mon, 23 Nov 2009 21:01:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291230
Log:
Fixed bug#50208 (Needs explicit statement on falling off the end of a function)
Bug: http://bugs.php.net/50208 (Open) Needs explicit
statement on falling off the end of a function
Changed paths:
U phpdoc/en/trunk/language/functions.xml
Modified: phpdoc/en/trunk/language/functions.xml
===================================================================
--- phpdoc/en/trunk/language/functions.xml 2009-11-23 21:01:19 UTC (rev 291229)
+++ phpdoc/en/trunk/language/functions.xml 2009-11-23 21:01:56 UTC (rev 291230)
@@ -397,6 +397,12 @@
the line from which it was called. See <function>return</function>
for more information.
</para>
+ <note>
+ <para>
+ If the <function>return</function> is omitted value value &null; will be
+ returned.
+ </para>
+ </note>
<para>
<example>
<title>Use of <function>return</function></title>