From de8b457181f6a200fa5fbbae5d4e4b2144fda886 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 20 Jun 2004 16:46:27 +0000 Subject: [PATCH] Fix 2nd issue of bug #28831 --- ext/spl/spl_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1