diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-01 11:49:44 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-01 15:17:22 +0200 |
commit | 312201dce4daca2770fd507af4a9a541bfe83fc0 (patch) | |
tree | da522ea9d98ab2b457d88a8fa11d7f5f18168481 /ext/spl/spl_fixedarray.c | |
parent | 8d9637bdacd698b72da3e0b9578ebfafefa82f3c (diff) | |
download | php-git-312201dce4daca2770fd507af4a9a541bfe83fc0.tar.gz |
Add get_gc handle for object iterators
Optional handler with the same semantics as the object handler.
Diffstat (limited to 'ext/spl/spl_fixedarray.c')
-rw-r--r-- | ext/spl/spl_fixedarray.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c index 63a3ef78fa..46536274b9 100644 --- a/ext/spl/spl_fixedarray.c +++ b/ext/spl/spl_fixedarray.c @@ -964,7 +964,8 @@ static const zend_object_iterator_funcs spl_fixedarray_it_funcs = { spl_fixedarray_it_get_current_key, spl_fixedarray_it_move_forward, spl_fixedarray_it_rewind, - NULL + NULL, + NULL, /* get_gc */ }; zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ |