]> granicus.if.org Git - php/commitdiff
- Fix #40442
authorMarcus Boerger <helly@php.net>
Fri, 6 Apr 2007 15:32:29 +0000 (15:32 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 6 Apr 2007 15:32:29 +0000 (15:32 +0000)
ext/spl/spl_array.c

index 8984e491d7aaad95a633dc6f4071ab9a468dcd23..5b0a74d51047475b02e17e0583e20b6003d500c8 100755 (executable)
@@ -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