diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-06-12 13:33:14 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-06-12 13:33:14 +0300 |
commit | 1c754f0b71321861f8ecc723dbedfed8d4f23e69 (patch) | |
tree | ab176bb46a3408c940ea1ff6bf085ee50525b2bb /ext/intl/common/common_enum.cpp | |
parent | 8e10e8f921101e0787c8228d257107a204de3e36 (diff) | |
download | php-git-1c754f0b71321861f8ecc723dbedfed8d4f23e69.tar.gz |
Get rid of more ZVAL_ZVAL() macros
Diffstat (limited to 'ext/intl/common/common_enum.cpp')
-rw-r--r-- | ext/intl/common/common_enum.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/intl/common/common_enum.cpp b/ext/intl/common/common_enum.cpp index 4160c30258..e76f3b830f 100644 --- a/ext/intl/common/common_enum.cpp +++ b/ext/intl/common/common_enum.cpp @@ -219,7 +219,8 @@ static PHP_METHOD(IntlIterator, current) INTLITERATOR_METHOD_FETCH_OBJECT; data = ii->iterator->funcs->get_current_data(ii->iterator); if (data) { - RETURN_ZVAL(data, 1, 0); + ZVAL_DEREF(data); + ZVAL_COPY(return_value, data); } } |