Re: Suggested change: change priority of new and ->
| From: | Fleshgrinder | Date: | Thu, 15 Feb 2018 07:17:34 +0000 |
| Subject: | Re: Suggested change: change priority of new and -> | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101874@lists.php.net to get a copy of this message | ||
On 2/8/2018 7:38 PM, Mcmuffin Mcguffin wrote:
> What do you think?
>
> Jaroslav Wegner
>
Thanks for the hard work to figure out what the roots of this annoyance
is. This could land in the next PHP version, considering that many other
breaking changes were also allowed in the past, given the following
prerequisites:
* RFC with a 2/3 majority vote
* Tool to convert any possibly broken code into valid code (basically
putting parenthesis around any complex
new (...)()).
* Update to
https://github.com/php/php-langspec/blob/master/spec/10-expressions.md#the-new-operator
--
Richard "Fleshgrinder" Fussenegger