Re: Array Keys
| From: | netcat | Date: | Wed, 05 Nov 2003 07:08:46 +0000 |
| Subject: | Re: Array Keys | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5191@lists.php.net to get a copy of this message | ||
LingWitt@insightbb.com wrote:
I don't want to seem naggish, but what do you think? On 3 Nov 2003, at 8:26 AM, LingWitt@insightbb.com wrote:anything as index but what use do you see for it ? Hash with objects as indexes ..... will hold additional data for objects? So why not store the data inside the object itself ?Yes, nice and generally it's nice to have a language that it's possible to useNow that objects are accounted for by references and id, it should be possible to use them as keys in an associative array. That might be an interesting feature to have.
-- NetCat -------------------------------------------------- FREE 10MB Email + Antivirus + POP3 + more... Get it at http://www.doal.co.il:81/free/?c=antivirus-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php