1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00

Fixed problem introduced in a763929 (fixing bug #61347).

The test added in 8c44c85 should now pass.
This commit is contained in:
Gustavo André dos Santos Lopes
2012-03-28 13:04:41 +01:00
parent 067603106e
commit f07dd29fdc

View File

@@ -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)