mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
The test added in 8c44c85 should now pass.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user