summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-06-20 16:46:27 +0000
committerMarcus Boerger <helly@php.net>2004-06-20 16:46:27 +0000
commitde8b457181f6a200fa5fbbae5d4e4b2144fda886 (patch)
treef2360835e137cbb595ade974e01770e15369101c /ext/spl
parent9219b746bb636e5d1e1b1306610114e54188afcf (diff)
downloadphp-git-de8b457181f6a200fa5fbbae5d4e4b2144fda886.tar.gz
Fix 2nd issue of bug #28831
Diffstat (limited to 'ext/spl')
-rwxr-xr-xext/spl/spl_array.c2
1 files changed, 1 insertions, 1 deletions
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)