Skip to content

Commit fa7f215

Browse files
committed
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src: Fixed problem introduced in a763929 (fixing bug #61347).
2 parents 105a9a9 + a912181 commit fa7f215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/spl_array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ SPL_METHOD(Array, offsetExists)
659659
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) == FAILURE) {
660660
return;
661661
}
662-
RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0 TSRMLS_CC));
662+
RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 2 TSRMLS_CC));
663663
} /* }}} */
664664

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

0 commit comments

Comments
 (0)