svn: /phpdoc/en/trunk/language/ generators.xml
| From: | Nikita Popov | Date: | Fri, 06 May 2016 13:55:27 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ generators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14122@lists.php.net to get a copy of this message | ||
nikic Fri, 06 May 2016 13:55:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339142
Log:
Fix bug #67011
Bug: https://bugs.php.net/67011 (Open) Manual: Comparing
generators with Iterator objects: generators cannot be cloned
Changed paths:
U phpdoc/en/trunk/language/generators.xml
Modified: phpdoc/en/trunk/language/generators.xml
===================================================================
--- phpdoc/en/trunk/language/generators.xml 2016-05-06 01:05:07 UTC (rev 339141)
+++ phpdoc/en/trunk/language/generators.xml 2016-05-06 13:55:27 UTC (rev 339142)
@@ -565,9 +565,7 @@
This flexibility does come at a cost, however: generators are forward-only
iterators, and cannot be rewound once iteration has started. This also
means that the same generator can't be iterated over multiple times: the
- generator will need to either be rebuilt by calling the generator function
- again, or cloned via the
- <link linkend="language.oop5.cloning">clone</link> keyword.
+ generator will need to be rebuilt by calling the generator function again.
</para>
</sect1>
</chapter>