Re: [RFC] [PHP 6] Uniform Variable Syntax
| From: | Adam Harvey | Date: | Mon, 09 Jun 2014 16:27:04 +0000 |
| Subject: | Re: [RFC] [PHP 6] Uniform Variable Syntax | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74805@lists.php.net to get a copy of this message | ||
On 9 June 2014 06:33, Nikita Popov <nikita.ppv@gmail.com> 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