php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69989 Generators don't participate in cycle GC
Submitted: 2015-07-03 16:35 UTC Modified: -
From: nikic@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID:
 [2015-07-03 16:35 UTC] nikic@php.net
Description:
------------
Cycles involving generators will currently not be detected. E.g. this will leak:

$gen = (function() use(&$gen) { yield; })();
$gen->rewind();



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-12 17:53 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
 [2016-02-12 17:53 UTC] nikic@php.net
-Status: Open +Status: Closed
 [2016-04-18 09:29 UTC] bwoebi@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
 [2016-07-20 11:33 UTC] davey@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Feb 21 14:01:44 2017 UTC