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

From: Date: Sun, 24 Feb 2013 09:29:27 +0000
Subject: svn: /phpdoc/en/trunk/language/ generators.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11030@lists.php.net to get a copy of this message
vrana Sun, 24 Feb 2013 09:29:27 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=329570 Log: Explain return inside generator (fixes bug #64102) Bug: https://bugs.php.net/64102 (Open) Manual incorrectly says empty "return" in generator has no effect Changed paths: U phpdoc/en/trunk/language/generators.xml Modified: phpdoc/en/trunk/language/generators.xml =================================================================== --- phpdoc/en/trunk/language/generators.xml 2013-02-23 21:53:42 UTC (rev 329569) +++ phpdoc/en/trunk/language/generators.xml 2013-02-24 09:29:27 UTC (rev 329570) @@ -120,7 +120,7 @@ <para> A generator cannot return a value: doing so will result in a compile error. An empty <command>return</command> statement is valid syntax within - a generator, but meaningless and will do nothing. + a generator and it will terminate the generator. </para> </note>

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