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

From: Date: Tue, 27 Jun 2000 13:59:09 +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-22479@lists.php.net to get a copy of this message
AZ>> > Well, tough question. I'd say to leave all them in place, but then shift AZ>> > doesn't work like splice... I'm confused. Any proposals? AZ>> AZ>> I don't think splice() should preserve numeric keys. Then array_pop($input) and array_splice($input, -1) would do different things. Don't know if anybody cares... Numeric keys in PHP are weird. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#22479) next »