Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57109 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21010 invoked from network); 27 Dec 2011 09:27:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Dec 2011 09:27:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:35630] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/C0-19192-D6F89FE4 for ; Tue, 27 Dec 2011 04:27:09 -0500 Received: by vcdn13 with SMTP id n13so8386471vcd.29 for ; Tue, 27 Dec 2011 01:27: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=2N8FohFPBMc0fGTv6V2mv8PfSfQU3RAhagF4Lk1SwmY=; b=LBh1HI+pIDRXPQpMeaxllLd9QVS1rH1DvqWOLMEoqIelFx7kMZii6eIAFmyRf+JfMA Z87v+j9OT8KJYuuTlvSuIWNHfnLAHyvaKASjeFhPvNo15/G9FIqTPm3PX+qlGVHSWBc7 bzxDjZXTEeDJwCtQSpgEnCoVmZEX7tte3luq4= Received: by 10.52.20.35 with SMTP id k3mr14708019vde.34.1324978026271; Tue, 27 Dec 2011 01:27:06 -0800 (PST) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.3.14 with HTTP; Tue, 27 Dec 2011 01:26:45 -0800 (PST) In-Reply-To: <4EF983EE.50905@sugarcrm.com> References: <4EF983EE.50905@sugarcrm.com> Date: Tue, 27 Dec 2011 17:26:45 +0800 X-Google-Sender-Auth: dX0-O-Boe5jMlFD5B8FVvp774bM Message-ID: To: Stas Malyshev Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC]Call for voting about const array/string dereference From: laruence@php.net (Laruence) On Tue, Dec 27, 2011 at 4:38 PM, Stas Malyshev wro= te: > Hi! > > >> Hi: >> =C2=A0 =C2=A0I have reset the vote, only vote for trunk now. >> >> =C2=A0 =C2=A0https://wiki.php.net/rfc/constdereference >> > > What happens in your patch if something like ['foo', 'bar'][1] is used in > write context? > this patch will not allow that, in write context lead to syntax error. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/