diff options
Diffstat (limited to 'Zend/zend_iterators.h')
-rw-r--r-- | Zend/zend_iterators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_iterators.h b/Zend/zend_iterators.h index 941b260885..bce98a24ac 100644 --- a/Zend/zend_iterators.h +++ b/Zend/zend_iterators.h @@ -50,6 +50,10 @@ typedef struct _zend_object_iterator_funcs { /* invalidate current value/key (optional, may be NULL) */ void (*invalidate_current)(zend_object_iterator *iter); + + /* Expose owned values to GC. + * This has the same semantics as the corresponding object handler. */ + HashTable *(*get_gc)(zend_object_iterator *iter, zval **table, int *n); } zend_object_iterator_funcs; struct _zend_object_iterator { |