summaryrefslogtreecommitdiff
path: root/ext/spl/spl_iterators.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-01-24 20:21:11 +0000
committerMarcus Boerger <helly@php.net>2005-01-24 20:21:11 +0000
commit3c36e73b95dc35944ccaa272831726b55d2e5bc5 (patch)
tree846315116a922ab0af780bb2c16d6b2efd40dd90 /ext/spl/spl_iterators.c
parent3cf4eae4aa005e7978410a35336608bafcaed3cc (diff)
downloadphp-git-3c36e73b95dc35944ccaa272831726b55d2e5bc5.tar.gz
- bugfix 31348
Diffstat (limited to 'ext/spl/spl_iterators.c')
-rwxr-xr-xext/spl/spl_iterators.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index a97aceb2f0..38f63182a7 100755
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -1282,6 +1282,7 @@ static INLINE void spl_caching_it_next(spl_dual_it_object *intern TSRMLS_DC)
zval_copy_ctor(intern->u.caching.zstr);
zval_dtor(&expr_copy);
} else {
+ INIT_PZVAL(intern->u.caching.zstr);
zval_copy_ctor(intern->u.caching.zstr);
}
}