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

From: Date: Tue, 27 Jun 2000 13:25:16 +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-22469@lists.php.net to get a copy of this message
AZ>> No, but it could preserve the keys, I suppose. It does. Here: <? $a=array(1,2,3); array_pop($a); var_dump($a); ?> Says: array(2) { [0]=> int(1) [1]=> int(2) } What's wrong? -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#22469) next »