Re: array commits broke something
| From: | Brad LaFountain | Date: | Thu, 01 Aug 2002 16:50:49 +0000 |
| Subject: | Re: array commits broke something | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86427@lists.php.net to get a copy of this message | ||
That was my fault. I did apply a patch that will fix that late
last nite.
Just get the current CVS and it should work.
PS. array_pop/array_shift is tuns faster now :)
- brad
--- Jani Taskinen <sniper@iki.fi> wrote:
>
> Have you updated to the very latest? I'm unable to reproduce this..
> Can you give some simple example script? (maybe I understood you wrong..)
>
> --Jani
>
>
>
>
> --
>
> On Thu, 1 Aug 2002, Jan Schneider wrote:
>
> >Hi,
> >
> >the recent changes in the array code broke something. array_pop() doesn't
> >decrease the key counter.
> >Let's say your have an array('one', 'two', 'three') and
> >run array_pop() on
> >it, then push another value so that you now have array('one', 'two',
> >'four')
> >the key of the last value will be 3, not 2 as it should be.
> >
> >Jan.
> >
> >--
> >http://www.horde.org - The Horde Project
> >http://www.ammma.de - discover your knowledge
> >http://www.tip4all.de - Deine private Tippgemeinschaft
> >
> >
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com