Re: AW: AW: [PHP-DEV] arrays

From: Date: Wed, 16 May 2001 14:01:01 +0000
Subject: Re: AW: AW: [PHP-DEV] arrays
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-55483@lists.php.net to get a copy of this message
At 13:34 16/5/2001, Stig Sæther Bakken wrote:
Acknowledged. But IMO the arrays will be either clearly continous or clearly associative/non-continous in 99.2% of the cases (Zeev statistics applied).
I never claim to be accurate, I usually say 99% :)
I think it's fine to keep treating an array as non-continous if there has ever been holes or string keys in it.
I actually think that arrays with both numeric and associative indices are quite common. Lots of apps I've seen use them, as well as some of PHP's internal functions. Zeev

« previous php.dev (#55483) next »