From f07dd29fdca49228551e8d39fb4282b33dffaa23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Wed, 28 Mar 2012 13:04:41 +0100 Subject: Fixed problem introduced in a763929 (fixing bug #61347). The test added in 8c44c85 should now pass. --- 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 c8384d846d..6e9525e5ce 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -636,7 +636,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) -- cgit v1.2.1