Skip to content

Commit f07dd29

Browse files
committed
Fixed problem introduced in a763929 (fixing bug #61347).
The test added in 8c44c85 should now pass.
1 parent 0676031 commit f07dd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/spl_array.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ SPL_METHOD(Array, offsetExists)
636636
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) == FAILURE) {
637637
return;
638638
}
639-
RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0 TSRMLS_CC));
639+
RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 2 TSRMLS_CC));
640640
} /* }}} */
641641

642642
/* {{{ proto mixed ArrayObject::offsetGet(mixed $index)

0 commit comments

Comments
 (0)