Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49222 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39034 invoked from network); 7 Aug 2010 13:44:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2010 13:44:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=ionut.g.stan@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ionut.g.stan@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ionut.g.stan@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:47701] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/38-21239-1436D5C4 for ; Sat, 07 Aug 2010 09:44:34 -0400 Received: by bwz17 with SMTP id 17so560282bwz.29 for ; Sat, 07 Aug 2010 06:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=7/yXGoQbCQVD8rx2GtK1ZHnMMB5DpB7a9Ve3I2f0wLs=; b=nJMJDNZ6Li7z+Mw16z1fFYXr3PbHhq9SXtiUIYt5U3Y4SWt2eVBt0+1uXNJGvR3AhY OeAtHu/Es+bkylAVl+Pkwrf4yVNpSFDhvR9OSIh9u1IALoPJcDKoRo8t494f7fPSijtr KxwuugZlGUV9kmT4chUBTJkdhVqGM9szJscHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=OlHoai7okXHOZJH1NhLzXFR2nNrRKoBVWuY/HV+qubGUmZAdotdLh3oW/tWi5VyyP1 9XpaYOEpaw8TtB1RiJEbW2yWaPEhRVOOXr7ixbxyqnlVEmit8l/suk4bOIEgppWBSoEB XYMNg9HFW0AXUxhXD3LtuLB31zhb22w98kTcE= Received: by 10.204.112.146 with SMTP id w18mr8755942bkp.16.1281188670404; Sat, 07 Aug 2010 06:44:30 -0700 (PDT) Received: from l.local ([89.36.11.205]) by mx.google.com with ESMTPS id f18sm630072bkf.3.2010.08.07.06.44.28 (version=SSLv3 cipher=RC4-MD5); Sat, 07 Aug 2010 06:44:28 -0700 (PDT) Message-ID: <4C5D64B6.9010500@gmail.com> Date: Sat, 07 Aug 2010 16:50:46 +0300 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: internals@lists.php.net References: <4C5C1D2E.6070805@easyflirt.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Indexing an array From: ionut.g.stan@gmail.com ("Ionut G. Stan") On 06/Aug/10 6:20 PM, Hannes Magnusson wrote: > On Fri, Aug 6, 2010 at 16:33, mathieu.suen wrote: >> Hi, >> >> For now you can only index an array using a scalar type or a string. >> Is there some rfc or work going on to enlarge the possibility so that it is >> possible to have some other object like: >> > > I don't think it makes sense. It makes. That's why SplObjectStorage implements ArrayAccess. -- IonuČ› G. Stan | http://igstan.ro