mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Added macros for managing zval refcounts and is_ref statuses
This commit is contained in:
parent
d20f6ecac8
commit
95da0dc570
86 changed files with 983 additions and 918 deletions
|
@ -928,7 +928,7 @@ static zend_object_iterator* text_iter_get_iterator(zend_class_entry *ce, zval *
|
|||
}
|
||||
iter_object = (text_iter_obj *) zend_object_store_get_object(object TSRMLS_CC);
|
||||
|
||||
ZVAL_ADDREF(object);
|
||||
Z_ADDREF_P(object);
|
||||
iter_object->iter.data = (void *) object;
|
||||
iter_object->iter.funcs = &text_iter_funcs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue