Re: stat/fstat
| From: | Jason Greene | Date: | Fri, 11 May 2001 15:22:10 +0000 |
| Subject: | Re: stat/fstat | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-54877@lists.php.net to get a copy of this message | ||
Its actually not that pretty....
Since the entries are in a hashtable,
you have to duplicate the values, with just another key.
-Jason
----- Original Message -----
From: "Brian Foddy" <brian.foddy@nwa.com>
To: <derick@php.net>
Cc: "Stig Sæther Bakken" <ssb@fast.no>; "PHP Developers Mailing List"
<php-dev@lists.php.net>
Sent: Friday, May 11, 2001 10:21 AM
Subject: Re: [PHP-DEV] stat/fstat
derick@php.net wrote:
>
> On 11 May 2001, Stig Sæther Bakken wrote:
>
> > 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.
Brian
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net