From: Marcus Boerger Date: Sun, 20 Jun 2004 16:46:27 +0000 (+0000) Subject: Fix 2nd issue of bug #28831 X-Git-Tag: php-5.0.0~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de8b457181f6a200fa5fbbae5d4e4b2144fda886;p=php Fix 2nd issue of bug #28831 --- diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 2f3e145f93..28a4870366 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -350,7 +350,7 @@ SPL_METHOD(Array, offsetGet) return; } value = spl_array_read_dimension(getThis(), index, BP_VAR_R TSRMLS_CC); - RETURN_ZVAL(value, 0, 1); + RETURN_ZVAL(value, 1, 0); } /* }}} */ /* {{{ proto void ArrayObject::offsetSet(mixed $index, mixed $newval)