Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56877 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36639 invoked from network); 12 Dec 2011 02:46:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2011 02:46:15 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:45381] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/00-36053-2FA65EE4 for ; Sun, 11 Dec 2011 21:46:11 -0500 Received: by vbbfd1 with SMTP id fd1so3658931vbb.29 for ; Sun, 11 Dec 2011 18:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=c3uEhNdXOwZfLKGtG/PyQTZWLFeTisrxd5pJJXM6gY4=; b=Xt15p88Qfir1nS8oFa+Vs14Gr9nG3adk+p+OE3gnLuOQCyyOFA//0SrnpdZ8IOyONX DWIiOcl/IPLli2HB04Km8aXCtddZTisVwQ/G+Pop5aZF/4gwQQA/ZAXfWkxp3LTp+D+f ZokdijuPp84fvZ9v/KsLFrUEk+yhs05C60EPk= Received: by 10.52.240.226 with SMTP id wd2mr759302vdc.50.1323657966627; Sun, 11 Dec 2011 18:46:06 -0800 (PST) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.177.12 with HTTP; Sun, 11 Dec 2011 18:45:45 -0800 (PST) In-Reply-To: References: Date: Mon, 12 Dec 2011 10:45:45 +0800 X-Google-Sender-Auth: kL-F3ohyRID2LKOSKKCq6gjbBB8 Message-ID: To: Peter Cowburn Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Const array/string dereference From: laruence@php.net (Laruence) Hi: reminding for discussion :) thanks On Wed, Nov 30, 2011 at 5:49 PM, Laruence wrote: > Hi peter: > > On Wed, Nov 30, 2011 at 5:23 PM, Peter Cowburn w= rote: >> Hi Laruence et al. >> >> On 30 November 2011 06:06, Laruence wrote: >>> Hi: >>> >>> =C2=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 >>> >>> =C2=A0 rfc is here, https://wiki.php.net/rfc/constdereference >>> >>> =C2=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 > Constitent with array deference, =C2=A0like some other languages :) >> to be consistent, where is the {$i} support (although the same can be > I coud =C2=A0add '{' '}' support if we search a consensus that it is need= . > but since array dereference didn't do that, so neither do I. > >> 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 to damned chinese great fire wall.... I uploaded the patch to > the bug report entry :) >> >>> >>> thanks >>> >>> -- >>> Laruence =C2=A0Xinchen Hui >>> http://www.laruence.com/ >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> > > thanks > > -- > Laruence =C2=A0Xinchen Hui > http://www.laruence.com/ --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/