Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5199 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34438 invoked by uid 1010); 5 Nov 2003 09:42:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34414 invoked by uid 1007); 5 Nov 2003 09:42:50 -0000 Message-ID: <20031105094250.34413.qmail@pb1.pair.com> To: internals@lists.php.net References: <457640B1-0E01-11D8-97C5-000393030CE6@insightbb.com> Date: Wed, 5 Nov 2003 10:45:42 +0100 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 62.195.81.30 Subject: Re: Array Keys From: manuzhai@php.net ("Dirkjan Ochtman") If you really wanted to do this you could use a serialize()d version of the object as the key. wrote in message news:457640B1-0E01-11D8-97C5-000393030CE6@insightbb.com... > Now 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.