On 20-9-2024 13:59, Gina P. Banyard wrote:
On Tuesday, 17 September 2024 at 19:04, Juliette Reinders Folmer
<php-internals_nos...@adviesenzo.nl> wrote:
L.s.,
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 ?
Smile,
Juliette
1: https://wiki.php.net/rfc/saner-inc-dec-operators
As Christoph has already said, the RFC indicated PHP 8.X where X is
greater than 3.
So no it did not need to land in 8.4.
Considering that I personally find it unlikely that the next version
is going to be 9.0 (now I may be wrong but we don't really have any
strong indications for doing this bump) and people were already
uncomfortable at the timeline I proposed when the RFC got voted;
I found it better to let another deprecation free version for people
to move to str_increment().
I did not forget about this and had it on the planned list of things
to tackle for PHP 8.5.
Thanks for clarifying and confirming Gina. Makes sense to me. Just
wanted to be sure.
Smile,
Juliette