Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74805 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78351 invoked from network); 9 Jun 2014 16:27:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jun 2014 16:27:28 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.223.181 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.223.181 mail-ie0-f181.google.com Received: from [209.85.223.181] ([209.85.223.181:34118] helo=mail-ie0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/55-45325-F60E5935 for ; Mon, 09 Jun 2014 12:27:27 -0400 Received: by mail-ie0-f181.google.com with SMTP id y20so2386161ier.12 for ; Mon, 09 Jun 2014 09:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=16r4RaS4AojVURaSJCpa0ogj/VS094p3TC8pwSWprbs=; b=WhylGOKV8xbq/pO8sHy+3Ju3qMhZaQSqqFY435crbCL5BMnXd6cCfNUcJv1bWFWfl9 QdTnyzKjRSeF99GHlNEBsGn791mByTin0CGqx8bks5ht6y++YF/547YYbFUDvHE6JOQ2 nukwMrXSw9cSBnRNHZpnid46k7T27EYrUAAjo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=16r4RaS4AojVURaSJCpa0ogj/VS094p3TC8pwSWprbs=; b=YboDxGaOR/Y9fi1/Ze8JXTQsw6WpA/8ppGOLbGIEyyclazUIXw0P5DpK7maQcM+fxK BwPKhs5JNsVemgeMtK0SB3zfgdSVLVwaPBa6AqYagJvXFbANxazDII27ZKGJMMlfoPl5 X9+LySOQoTPxUKkzKf+d7+/6g4VlqBGDsArEQfdJSAnDhTG7cCGbzZ1rJ9c8rO62zIFY YyUkrLtAq3DX3shkxD2Q1aYAVjS8jx6BzTQiSf67qtMSXngRkZog5PW+PdRqlm16HecT 0DvHawkady1sL/Lyhn3UGp6Oj8ffUf1zNAGSRbnyRV9hvB4l5nKsi2QIQQGKUt9Fwii+ pVUw== X-Gm-Message-State: ALoCoQmmJnZ75Z3m6pGeKj2KcxoMAG6/yTBpzebS7/E6QQIrv98m3eR53isjTslZwuoEvSCBLCrN X-Received: by 10.50.114.34 with SMTP id jd2mr26412272igb.35.1402331244650; Mon, 09 Jun 2014 09:27:24 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.42.254.138 with HTTP; Mon, 9 Jun 2014 09:27:04 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Jun 2014 09:27:04 -0700 X-Google-Sender-Auth: YSwinQW7VBh1yA5qy7DwMDedFi0 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] [PHP 6] Uniform Variable Syntax From: aharvey@php.net (Adam Harvey) On 9 June 2014 06:33, Nikita Popov wrote: > I have created a proposal for a more consistent and complete variable > syntax for PHP 6: > > https://wiki.php.net/rfc/uniform_variable_syntax > > The RFC is targeted at PHP 6 because it breaks compatibility for some > rarely used variable-variable constructs. I like it. A Monday morning, pre-caffeine-kicking-in thought (so it may not be very worthwhile): can we detect the situations that would change with this patch applied within the current parser? If we did go ahead with this for PHP 5++, then we could potentially add E_STRICT warnings in PHP 5.7 notifying users that the behaviour will change in the next major version. Adam