Re: com php-src: Fixed problem introduced in a763929 (fixing bug #61347).: ext/spl/spl_array.c

From: Date: Wed, 28 Mar 2012 14:16:23 +0000
Subject: Re: com php-src: Fixed problem introduced in a763929 (fixing bug #61347).: ext/spl/spl_array.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68223@lists.php.net to get a copy of this message
Thanks for fixing this! 28 марта 2012 г. 17:04 пользователь Gustavo Andr&eacute; dos Santos Lopes <cataphract@php.net> написал: > Commit:    f07dd29fdca49228551e8d39fb4282b33dffaa23 > Author:    Gustavo André dos Santos Lopes <cataphract@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õ{q4i±ð > )Šö׊Ç > > 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

« previous php.cvs (#68223) next »