From: Marcus Boerger Date: Fri, 6 Apr 2007 15:32:29 +0000 (+0000) Subject: - Fix #40442 X-Git-Tag: RELEASE_1_1_0~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aba41d889ac64accf576ec0916c78a25496c4272;p=php - Fix #40442 --- diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 8984e491d7..5b0a74d510 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -525,7 +525,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, 1 TSRMLS_CC)); + RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0 TSRMLS_CC)); } /* }}} */ /* {{{ proto mixed ArrayObject::offsetGet(mixed $index) U