]> granicus.if.org Git - php/commit
Do not add a ref to EX(object) on generator clone
authorNikita Popov <nikic@php.net>
Thu, 20 Dec 2012 19:33:18 +0000 (20:33 +0100)
committerNikita Popov <nikic@php.net>
Thu, 20 Dec 2012 19:33:18 +0000 (20:33 +0100)
commit3e78c6ad25fdf07259bfaaa3e2e33fb0914e5e61
tree76eebcfc9acdd7e88d061091d9369ce13e30a8c6
parentd5fe89670ee76baeb50664f5460991892ee77d8c
Do not add a ref to EX(object) on generator clone

If a ref has to be added it will be already added while walking the call
slots.
Zend/tests/generators/clone_after_object_call.phpt [new file with mode: 0644]
Zend/zend_generators.c