Re: Re: PHP 4.0 Bug #5226 Updated: arrayfields reorganized when using array_pop

From: Date: Mon, 26 Jun 2000 21:28:22 +0000
Subject: Re: Re: PHP 4.0 Bug #5226 Updated: arrayfields reorganized when using array_pop
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-22410@lists.php.net to get a copy of this message
On Mon, 26 Jun 2000, frank bretschneider wrote: > but what i do not unterstand why > array_pop rearanges the arraykies. > > before the array_pop-funct is called the first array-key was 1. > after i "called" array_pop the first array_key is 0 ... > > i think that is not array_pop should do. what array_pop should do, is > pop the last element of the array and leave "the rest of the array" as it > is. I'll look into fixing that. -Andrei * Who is Ray and why would we want to selectively trace him? *

« previous php.dev (#22410) next »