Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26445 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58998 invoked by uid 1010); 9 Nov 2006 23:22:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58983 invoked from network); 9 Nov 2006 23:22:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2006 23:22:50 -0000 Authentication-Results: pb1.pair.com header.from=sean@caedmon.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sean@caedmon.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain caedmon.net from 69.60.120.90 cause and error) X-PHP-List-Original-Sender: sean@caedmon.net X-Host-Fingerprint: 69.60.120.90 iconoclast.caedmon.net Linux 2.4/2.6 Received: from [69.60.120.90] ([69.60.120.90:40840] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/25-24370-948B3554 for ; Thu, 09 Nov 2006 18:22:50 -0500 Received: from localhost ([127.0.0.1]) by iconoclast.caedmon.net with esmtp (Exim 3.35 #1 (Debian)) id 1GiJDI-0006MM-00; Thu, 09 Nov 2006 18:21:40 -0500 Message-ID: <4553B844.2040701@caedmon.net> Date: Thu, 09 Nov 2006 18:22:44 -0500 User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: Dmitry Shirokov CC: internals@lists.php.net References: <7c3b2950611091321y649266abs4f3a5bac7187e889@mail.gmail.com> In-Reply-To: <7c3b2950611091321y649266abs4f3a5bac7187e889@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Feature request From: sean@caedmon.net (Sean Coates) Hi, > What are you thinking about adding this feature: > echo foo()[4]; // <---- it that I'd like to see this. IMO, it's similar to $obj->objproperty->property, syntactically. It would also simplify working with third party libraries/apps that pass a lot of arrays around in a weird way *cough*gallery*cough*. S