svn: /phpdoc/en/trunk/language/ functions.xml

From: Date: Sat, 18 Jul 2015 07:50:57 +0000
Subject: svn: /phpdoc/en/trunk/language/ functions.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13465@lists.php.net to get a copy of this message
pasindu Sat, 18 Jul 2015 07:50:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337186 Log: Added change log for Returning values Changed paths: U phpdoc/en/trunk/language/functions.xml Modified: phpdoc/en/trunk/language/functions.xml =================================================================== --- phpdoc/en/trunk/language/functions.xml 2015-07-18 06:59:48 UTC (rev 337185) +++ phpdoc/en/trunk/language/functions.xml 2015-07-18 07:50:57 UTC (rev 337186) @@ -530,7 +530,7 @@ function show(int $intNum) { - return $a; + return $a; } @@ -553,7 +553,7 @@ function show(int $intNum) { - return $a; + return $a; } show("1"); // Fatal Error @@ -750,6 +750,24 @@ the line from which it was called. See <function>return</function> for more information. </para> + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>7.0.0</entry> + <entry>Added Return Type Declarations</entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> <note> <para> If the <function>return</function> is omitted the value &null; will be

« previous php.doc.cvs (#13465) next »