Re: [RFC] Path to Saner Increment/Decrement operators
| From: | G. P. B. | Date: | Mon, 26 Jun 2023 23:52:55 +0000 |
| Subject: | Re: [RFC] Path to Saner Increment/Decrement operators | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120687@lists.php.net to get a copy of this message | ||
On Tue, 17 Jan 2023 at 14:28, G. P. B. <george.banyard@gmail.com> wrote:
> Hello Internals,
>
> I would like to start the discussion on the Path to Saner
> Increment/Decrement operators RFC:
> https://wiki.php.net/rfc/saner-inc-dec-operators
>
> The goal of this RFC is to reduce language complexity by making $v++
> behave like $v += 1 and $v-- behave like $v -= 1;
>
> I am expecting the contentious part of the proposal to be the deprecation
> of the PERL string increment feature to achieve the aforementioned goal.
> However, I believe the benefits of aligning the behaviour of the
> increment/decrement operators with addition/subtraction are larger than
> keeping support for the PERL increment, which in its current state has
> various shortcomings.
>
I have added a section about impact on the PERL increment deprecation to
the RFC.
https://wiki.php.net/rfc/saner-inc-dec-operators
I am also planning on opening the vote on this on Wednesday the 28th of
June.
Best regards,
George P. Banyard