summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCHU Zhaowei <jhdxr@php.net>2017-12-20 00:22:27 +0800
committerJoe <krakjoe@php.net>2018-02-08 10:16:24 +0100
commit01eafceea12913e710b992fd88e5ab1e23662447 (patch)
treec6f9ee59a7fe2e15541416a52ab20e501bf59400
parent495508ecebb042bf252510fc508ac3745b588bb9 (diff)
downloadphp-git-01eafceea12913e710b992fd88e5ab1e23662447.tar.gz
Fixed bug #74519 strange behavior of AppendIterator
-rw-r--r--NEWS3
-rw-r--r--ext/spl/spl_iterators.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 671f0f9977..ba9eb84108 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,9 @@ PHP NEWS
- ODBC:
. Fixed bug #73725 (Unable to retrieve value of varchar(max) type). (Anatol)
+- SPL:
+ . Fixed bug #74519 (strange behavior of AppendIterator). (jhdxr)
+
- Standard:
. Fixed bug #75916 (DNS_CAA record results contain garbage). (Mike,
Philip Sharp)
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index 75550be175..4cb6380481 100644
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -1808,7 +1808,6 @@ SPL_METHOD(dual_it, current)
SPL_FETCH_AND_CHECK_DUAL_IT(intern, getThis());
- spl_dual_it_fetch(intern, 1);
if (Z_TYPE(intern->current.data) != IS_UNDEF) {
zval *value = &intern->current.data;