]> granicus.if.org Git - php/commit
Fix segfault when cloning generator with properties
authorNikita Popov <nikic@php.net>
Fri, 1 Feb 2013 17:33:26 +0000 (18:33 +0100)
committerNikita Popov <nikic@php.net>
Fri, 1 Feb 2013 17:33:26 +0000 (18:33 +0100)
commit3ee20e450fb5e52f68174f982fbd4f13eb2d9beb
tree63d111ce7070a54804a95df18868b2d5259c129f
parentac18c318dc4af08074a56cf706678a2457495944
Fix segfault when cloning generator with properties

Rule of thumb: Always implement the object clone handler rather
than the object storage clone handler. Actually I think we should
drop the latter. It's nearly never usable.
Zend/tests/generators/clone_with_properties.phpt [new file with mode: 0644]
Zend/zend_generators.c