Re: PHP 8.4 / Status of "Saner Increment/Decrement operator" part 2 ?
| From: | Christoph M. Becker | Date: | Wed, 18 Sep 2024 09:27:26 +0000 |
| Subject: | Re: PHP 8.4 / Status of "Saner Increment/Decrement operator" part 2 ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125617@lists.php.net to get a copy of this message | ||
On 17.09.2024 at 20:04, Juliette Reinders Folmer wrote:
> I was just looking at the "Path to Saner Increment/Decrement operators"
> RFC [1] and as part of the proposal, step 2 "Deprecate using the
> increment operator with non-numeric strings." should have gone into PHP
> 8.4, but I can't find anything about this deprecation having been added
> in PHP 8.4 in the UPGRADING docs.
>
> Anyone around who can tell me what the status is ?
See <https://wiki.php.net/rfc#pending_implementationlanding>;
the RFC is
still listed there for PHP 8.X and PHP 9.0. The 8.X part has not (yet)
been done.
In my opinion, this can be postponed to PHP 8.5, but if PHP 9.0 is next,
that would not work, since we cannot deprecate and remove in the same
version.
Christoph