Re: stat/fstat
| From: | Zeev Suraski | Date: | Fri, 11 May 2001 17:31:11 +0000 |
| Subject: | Re: stat/fstat | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-54888@lists.php.net to get a copy of this message | ||
At 18:21 11/5/2001, Brian Foddy wrote:
derick@php.net wrote: On 11 May 2001, Stig Sæther Bakken wrote:No special tricks needed; PHP's arrays support both numeric and string indices ever since PHP 3.0 (at least). You can simply add both types of indices to the same array without having to do anything special.Why not have both numerical and descriptive indices? Backwards compatible, slightly bloatish, but not really a problem.it's already implemented this way now (it was added last night) AFAIK Derick Rethans You are creating the same array indexed both by a integer and a string? I'm curious how this is done. I might have a good use for this trick.