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

From: Date: Tue, 27 Jun 2000 08:35:59 +0000
Subject: Re: Re: PHP 4.0 Bug #5226 Updated: arrayfields reorganized when using array_pop
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22423@lists.php.net to get a copy of this message
AZ>> > i think that is not array_pop should do. what array_pop should do, is AZ>> > pop the last element of the array and leave "the rest of the array" as it AZ>> > is. AZ>> AZ>> I'll look into fixing that. Into fixing *what*? It works as it should - removes last element of the array. It *should not* preserve size of the array and shift elements, it should remove last element. This is what it does. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#22423) next »