diff options
| author | Marcus Boerger <helly@php.net> | 2007-04-06 17:57:10 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2007-04-06 17:57:10 +0000 |
| commit | 515f4f6e6fca9188ef32d24d340b66d87a29ea6d (patch) | |
| tree | e0f9150ef4ab8616742c9ce3f618c576ce4c24a6 /ext/spl/spl_array.c | |
| parent | 0ec117146e2410552644cb5ef6aa402eac779def (diff) | |
| download | php-git-515f4f6e6fca9188ef32d24d340b66d87a29ea6d.tar.gz | |
- Fix 40442
Diffstat (limited to 'ext/spl/spl_array.c')
| -rwxr-xr-x | ext/spl/spl_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 924cc39847..456e63681a 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -520,7 +520,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, 1 TSRMLS_CC)); + RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0 TSRMLS_CC)); } /* }}} */ /* {{{ proto mixed ArrayObject::offsetGet(mixed $index) |
