Re: [PHP-DEV] Re: PHP 4.0 Bug #5226 Updated: arrayfields reorganized when using array_pop From: Andrei Zmievski (andrei <email protected>)
Date: 06/26/00

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? *

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>