diff options
author | Joe Watkins <krakjoe@php.net> | 2016-04-28 15:40:59 +0100 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2016-04-28 15:40:59 +0100 |
commit | de019858c392355c31dce6db0ae3f0abaabb3451 (patch) | |
tree | c42de360330dfed32d337d02a3928fdbb3a33f4f /ext/spl | |
parent | 747a482b9c011b33d3e61823d3291c2258eaec9e (diff) | |
parent | e27a43b7be877b9b27addf67f7dc2d1f6d74d3a1 (diff) | |
download | php-git-de019858c392355c31dce6db0ae3f0abaabb3451.tar.gz |
Merge branch 'PHP-7.0'
* PHP-7.0:
variable used out of scope
Diffstat (limited to 'ext/spl')
-rw-r--r-- | ext/spl/spl_fixedarray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c index 9bbda05829..e04abf77ea 100644 --- a/ext/spl/spl_fixedarray.c +++ b/ext/spl/spl_fixedarray.c @@ -410,11 +410,11 @@ static inline void spl_fixedarray_object_write_dimension_helper(spl_fixedarray_o static void spl_fixedarray_object_write_dimension(zval *object, zval *offset, zval *value) /* {{{ */ { spl_fixedarray_object *intern; + zval tmp; intern = Z_SPLFIXEDARRAY_P(object); if (intern->fptr_offset_set) { - zval tmp; if (!offset) { ZVAL_NULL(&tmp); offset = &tmp; |