Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125640 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 116431A00BD for ; Fri, 20 Sep 2024 12:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726836529; bh=tsJKdrX4NlIf7dlYBmdv2Zt62EhsiY6MaTOY1KpBemA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=aZ9kENPt3S8qXKc27DlSHmnfBRzK9SxNz8zNFuOHuwTox5iyUiMeOh1yswSJPb6ES 7v2YO5efXMaIcpfAEw7Ih+H3J0JMpzl+L9Joir72WdOGtABlUuIUSFPsvPDH/z5SQY zHLoUprmF+5RXm2NhT6wLxPbxN+1ao+d4TDDHYYnVKmVbO/GoTQxloxbX/2p3R+LPr 8L1/vNLLYF6rUV3nO27TnxjPVDQwpYzo52M11I30SsfHstHuSh/1/KcKfw15DRTkrr 3dYgVKLsdEvE13v0XhFaynDS/+DqT9Qt1TRy9qDDFI0jJ8A/NjoUPoFRX3cwTR8OTC OmoW0mmvlnuSA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7B36818005B for ; Fri, 20 Sep 2024 12:48:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from bumble.maple.relay.mailchannels.net (bumble.maple.relay.mailchannels.net [23.83.214.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 20 Sep 2024 12:48:47 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|juliette@adviesenzo.nl Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 014F02503A for ; Fri, 20 Sep 2024 12:46:40 +0000 (UTC) Received: from nl1-ss105.a2hosting.com (trex-5.trex.outbound.svc.cluster.local [100.99.97.152]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 789E6252F7 for ; Fri, 20 Sep 2024 12:46:38 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1726836399; a=rsa-sha256; cv=none; b=9vUsOnaGwJeQCvCXxa5cNv1jWd/76aARYMv+c3SPi0hUPWQVstMqEXpiGbn0CT6rpiTTCz dg7X6rEuZLI9OF+zPIZj2EeLMyyP8iBv+O/Ag26XGM9dHbRZQ324Fx9v3KaXeNxdSIjZJw 0JRf77mHcEFsOJ0Iqg/pap6nsL4LTfCgyU2Le6TJrfmCkXoFDNa/qRdj2gTslE1O1lPN4Z oiK4ck3WCcJv+sW0mL+DPpZR3sIHVyvIwVPR8HnQ9H0cVZrHKSc6skKH0fYYLi8RTiWeuF JR/z4Xe/eDJXQNXe3dwxVr9YO2I6mXJi3EvVGYDFGIDSEDIufSNXjKZCcjWh9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1726836399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=A0ET7bWXDztE64wf/6Wb1wODqOJpgmLHL+zOrusbed4=; b=mFAmY+BTfdQnftSU1Yu3MMK2SLWD8f2wzX9rOCDTK+pKJp2gol6yBcCGLQHvUv21Uk8SGx LPkoaBTStCoyUtEbgZ6/wlfzs0UtOXksle3ay+8hJ7rqmBUdgoftyrSngijyHvvvTPXbL6 ytN99Nk2FS7Gi+MRX2S5UCdZo6St78D6sZ+lXLFrUn6zNlffKf1ndd5WD/lPZOJnCzAaOF ztt44LtmiKwUTfCyj6Hunii7GLW5FaqdzZCdaQYNvfnPjT472jt+vRX1kRkEcO1ydi16Kp YboxVF0TOXaF/+N/X6DltJLePH+Bq95jN63t0lbKYIvQlK1Rzn5Y1YsDnwDI2g== ARC-Authentication-Results: i=1; rspamd-5b46bcd97f-svd8d; auth=pass smtp.auth=a2hosting smtp.mailfrom=php-internals_nospam@adviesenzo.nl X-Sender-Id: a2hosting|x-authuser|juliette@adviesenzo.nl X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|juliette@adviesenzo.nl X-MailChannels-Auth-Id: a2hosting X-Trouble-Chief: 29fffca873fea65e_1726836399256_157278518 X-MC-Loop-Signature: 1726836399256:1414292103 X-MC-Ingress-Time: 1726836399255 Received: from nl1-ss105.a2hosting.com (nl1-ss105.a2hosting.com [85.187.142.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.97.152 (trex/7.0.2); Fri, 20 Sep 2024 12:46:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=adviesenzo.nl; s=default; h=In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Content-Type:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=A0ET7bWXDztE64wf/6Wb1wODqOJpgmLHL+zOrusbed4=; b=WaEAIS3U9x4xy5ASd9ZwBuNvuj N4IW2tYdsjgst9mtUxLxR/7p31UXzvmxixTuVkZAZ1eA8UI/mfacHgC7qxmpF8rufNudizczaqv1t /wWzl7QPhQ89Sbv0hbtAmFKeLs4tBcViYaymAnnc2TclCi4kpgsKjFx7Isi2cxCuntbs=; Received: from mailnull by nl1-ss105.a2hosting.com with spam-scanner (Exim 4.97.1) (envelope-from ) id 1srd1v-0000000GeN3-0d5u for internals@lists.php.net; Fri, 20 Sep 2024 14:46:35 +0200 X-ImunifyEmail-Filter-Info: SUVfVkxfUEJMX0VNQUlMXzAxIFJDVkRfVklBX1NNVFBfQVVU SCBYTV9 VQV9OT19WRVJTSU9OIFJDVkRfVExTX0FMTCBTVUJKRUNUX0VORFNfUV VFU1RJT04gSUVfVkxfUEJMX0RPTUFJTl8wMSBWRVJJTE9DS19DQiBJR V9WTF9QQkxfRU1BSUxfMDUgQkFZRVNfSEFNIE1JTUVfVFJBQ0UgRlJP TV9FUV9FTlZGUk9NIElFX1ZMX1BCTF9ET01BSU5fMDUgQVJDX05BIEF TTiBSQ1ZEX0NPVU5UX09ORSBGUk9NX0hBU19ETiBUT19ETl9OT05FIF JDUFRfQ09VTlRfT05FIElFX1ZMX1BCTF9BQ0NPVU5UXzAxIFRPX01BV ENIX0VOVlJDUFRfQUxMIE1JRF9SSFNfTUFUQ0hfRlJPTSBNSU1FX1VO S05PV04= X-ImunifyEmail-Filter-Action: no action X-ImunifyEmail-Filter-Score: 3.19 X-ImunifyEmail-Filter-Version: 3.8.5/202409191009 Received: from [176.52.205.226] (port=58999 helo=[192.168.20.180]) by nl1-ss105.a2hosting.com with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1srd1v-0000000GeKA-1y1p; Fri, 20 Sep 2024 14:46:34 +0200 Content-Type: multipart/alternative; boundary="------------v1ndGcVp48j0pB9BEsZ3U1qO" Message-ID: <56d1a3ff-67e1-4164-8ad2-171ee5b8a8f1@adviesenzo.nl> Date: Fri, 20 Sep 2024 14:46:32 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] PHP 8.4 / Status of "Saner Increment/Decrement operator" part 2 ? To: internals@lists.php.net References: <66E9C4CA.5090708@adviesenzo.nl> Content-Language: en-GB In-Reply-To: X-AuthUser: juliette@adviesenzo.nl From: php-internals_nospam@adviesenzo.nl (Juliette Reinders Folmer) This is a multi-part message in MIME format. --------------v1ndGcVp48j0pB9BEsZ3U1qO Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 20-9-2024 13:59, Gina P. Banyard wrote: > On Tuesday, 17 September 2024 at 19:04, Juliette Reinders Folmer > 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 --------------v1ndGcVp48j0pB9BEsZ3U1qO Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 20-9-2024 13:59, Gina P. Banyard wrote:
On Tuesday, 17 September 2024 at 19:04, Juliette Reinders Folmer <php-internals_nospam@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

--------------v1ndGcVp48j0pB9BEsZ3U1qO--