Thanks for fixing this!

28 марта 2012 г. 17:04 пользователь Gustavo André dos Santos
Lopes <cataphr...@php.net> написал:
> Commit:    f07dd29fdca49228551e8d39fb4282b33dffaa23
> Author:    Gustavo André dos Santos Lopes <cataphr...@php.net>         Wed, 
> 28 Mar 2012 13:04:41 +0100
> Parents:   067603106eba10e7648ccfe11834b10580fde2a9
> Branches:  master
>
> Link:       
> http://git.php.net/?p=php-src.git;a=commitdiff;h=f07dd29fdca49228551e8d39fb4282b33dffaa23
>
> Log:
> Fixed problem introduced in a763929 (fixing bug #61347).
>
> The test added in 8c44c85 should now pass.
>
> Bugs:
> https://bugs.php.net/61347
>
> Changed paths:
>  M  ext/spl/spl_array.c
>
>
> Diff:
> f07dd29fdca49228551e8d39fb4282b33dffaa23
> diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
> index c8384d8..6e9525e 100755
> --- a/ext/spl/spl_array.c
> +++ b/ext/spl/spl_array.c
> @@ -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)
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
Regards,
Shein Alexey

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to