Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56679 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17421 invoked from network); 30 Nov 2011 09:24:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Nov 2011 09:24:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:37146] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/00-17272-336F5DE4 for ; Wed, 30 Nov 2011 04:24:04 -0500 Received: by ggnk1 with SMTP id k1so465982ggn.29 for ; Wed, 30 Nov 2011 01:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Q7pTLYNje+LdSY2mCxYcUF3ook2xW4bFBJ+O9FrL5nA=; b=TbV5p3IMHllZy/vjwsSm9yxJG1UCTRCVLX+jrY6x069AQ/W2Ly1PNrdXJrqZzlzqAH C+jXWWCzY+1IY4bf8n41GsKIyQX2Fz9L88aivgJaT5InGpgCAkOKguw9oomE3HbLhUqA XkqJ7aHntmJkzu1se+pGrgmDxc3O2/D1BRyLY= Received: by 10.68.12.73 with SMTP id w9mr5807656pbb.6.1322645040076; Wed, 30 Nov 2011 01:24:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.46.136 with HTTP; Wed, 30 Nov 2011 01:23:19 -0800 (PST) In-Reply-To: References: Date: Wed, 30 Nov 2011 09:23:19 +0000 Message-ID: To: Laruence Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Const array/string dereference From: petercowburn@gmail.com (Peter Cowburn) Hi Laruence et al. On 30 November 2011 06:06, Laruence wrote: > Hi: > > =A0 base on feature request: https://bugs.php.net/bug.php?id=3D60408 , I > wrote a patch to make php support const array/string dereference > > =A0 rfc is here, https://wiki.php.net/rfc/constdereference > > =A0 any opinions? Could you pad out the RFC a little, it is very sparse in information at the moment. What is the rationale behind this new feature? "A small change to make things consistent." Consistent with what? If you want to be consistent, where is the {$i} support (although the same can be said for function array dereferencing with curly braces)? I can't comment on the patch/tests as your site seems to be unavailable at the moment. > > thanks > > -- > Laruence =A0Xinchen Hui > http://www.laruence.com/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >