summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-03-28 13:06:05 +0100
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-03-28 13:06:05 +0100
commit593578c8c1c5163789bcdb54617fa331a952259a (patch)
treef2249fa099fd77764865a8e0a3cbb81ad51624f7
parent68990224be30c18e833efae5b5d25ccc5b193101 (diff)
parentf07dd29fdca49228551e8d39fb4282b33dffaa23 (diff)
downloadphp-git-593578c8c1c5163789bcdb54617fa331a952259a.tar.gz
Merge branch '5.3' into 5.4
-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 811a30b3d4..e448731a52 100755
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -659,7 +659,7 @@ SPL_METHOD(Array, offsetExists)
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) == FAILURE) {
return;
}
- RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0 TSRMLS_CC));
+ RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 2 TSRMLS_CC));
} /* }}} */
/* {{{ proto mixed ArrayObject::offsetGet(mixed $index)