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 committed 2012-03-28 13:04:41 +01:00
1 parent 067603106e
commit f07dd29fdc
1 file changed
+1 -1
+1 -1
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)