Re: New negative key in arrays

From: Date: Sat, 21 Jun 2003 20:29:58 +0000
Subject: Re: New negative key in arrays
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354733@lists.php.net to get a copy of this message
Ok, Updating the translation. ----- Original Message ----- From: "Lars Torben Wilson" <torben@php.net> To: "André LFS Bacci" <andre_ae@uol.com.br> Cc: "PHP Doc Team" <phpdoc@lists.php.net> Sent: Saturday, June 21, 2003 3:49 PM Subject: Re: [PHP-DOC] New negative key in arrays On Sat, 2003-06-21 at 09:18, André LFS Bacci wrote: > It occurs two times in the document > > New value in array with no ley: > if exist integer key -> maximun + 1 ... unless negative key ... in this case > ... new key is zero. > if not exist integer key -> new key is zero > > []s > > André Æ I changed it. It appears that the behaviour has changed. I'll find out when and add a versioning note (or if it's a bug I'll just fix it). PHP 4.3.2: array(2) { [-5]=> string(10) "minus five" [0]=> string(10) "minus four" }

« previous php.doc (#969354733) next »