mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Uze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY()
This commit is contained in:
parent
094c2aaf83
commit
67b4c3379a
22 changed files with 95 additions and 192 deletions
|
@ -219,8 +219,7 @@ static PHP_METHOD(IntlIterator, current)
|
|||
INTLITERATOR_METHOD_FETCH_OBJECT;
|
||||
data = ii->iterator->funcs->get_current_data(ii->iterator);
|
||||
if (data) {
|
||||
ZVAL_DEREF(data);
|
||||
ZVAL_COPY(return_value, data);
|
||||
ZVAL_COPY_DEREF(return_value, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue