Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128295 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 lists.php.net (Postfix) with ESMTPS id 88D111A00BC for ; Tue, 29 Jul 2025 12:17:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753791329; bh=1lJur5qM8PYfLsX0z372UhmyxyYqdbE3mJG7Adp9X7c=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=N3Ru9fqDO5ce64u/SlUx/RUsVfg3FyMatrNaz7CiVPc5/QqNBJL7BF5xtJdSrKNSg GiP4qB2DKluSC+oII91rOV3gNbgQ9J2jPalMe3MZVdyCyf0vOkffKTBY4vOGV/DOwD awwJshf2ZOaLHqLL2/eqYqlAA93tjG6y5tG6flFVKjGuekrNlNhW6bUx8wZoZhjt+d ep3srOSkUbYnB99JLXHwpBGESvBrhxFpnGoWJL+ELxqmNeBhB2ItUcb5KnLb4qeVpW 9ZOaWl31Keda9Nx5ZO8bO6ffZdOMEN1XUF+xwufUXZ4Xuel57sOVjMhEAT9bvUhdMh J5mAmwmE6ee4w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A55C218006C for ; Tue, 29 Jul 2025 12:15:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: ** X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_50,DMARC_NONE, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (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 ; Tue, 29 Jul 2025 12:15:28 +0000 (UTC) Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-41b4bf6ead9so3174779b6e.3 for ; Tue, 29 Jul 2025 05:17:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753791430; x=1754396230; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1lJur5qM8PYfLsX0z372UhmyxyYqdbE3mJG7Adp9X7c=; b=unVMMGjn9Vmysb99uVQHMoRLP+9fcLAnDivAqexIbz37ndzeUGT3Xk9TvZy2kEV8uw 0KU68ykx2B9dxMRRMRE1CG0mlDqzKqxhPYPp4hiGcbnMXsp+7msrmeB5f0RvDatA5eFW B4/0HRvkQmXU19Vn7YJXf0I6AFaeZByerlCqW8YLVTtwzglYe7K5nVOWgSxJF9TeOqia HoXpWUqkhRLQZOBl3h2ON4GbsrHSesL5l57FCpzt3JOOOxVmNTtLJVaKU8tFOHlrzQb4 ez+S9BKNSaWDO9KyyH5fL3a329WZUWjWVbnViQSA1pXxZP1EL/EgJZONOFdYuzQdBkt/ FRvA== X-Forwarded-Encrypted: i=1; AJvYcCWiUmI4usc82E0IsuRn8ukw4gH2eKu/e7xILvr7civ//2m0kZOzvyOR5UKZ8a72WFoghJzGkpH8SZU=@lists.php.net X-Gm-Message-State: AOJu0YxnvF2mU8aim8xo2ds22dZ5B9pieZ9BOn0N+6NIJ5Ka0cU2RBpE u9yADcUUIwP2ACE+brr38EfxUwvknEeZlKJI2mGNysIxKziTgB4X5xJ+FtiJazQgnVH+XOv8UCs V4yQ49cznZ1Yidos3Tob16GogYhgwnsE= X-Gm-Gg: ASbGncsew+fy+yFkvY3zyYPPKeGxIZjUVm0PZdLsPKw/AFCB5LdZ5D7+2ZslWM/1/YN 16bkur+zalTweKFLMlOFycCTcAG6H13M3nD5fHmXuK59DkMr1vQzLZSHMDSSfsdIQUzxZti0EH0 MyOd29mwMnzqDr/8OrHDC+Y2IRFgifEuU3wHaNHeZUSDK6DhxbWTYt3UWIOqhl9I4S4BAQ4zoHM QV7qzU= X-Google-Smtp-Source: AGHT+IGLX7HgtJvA3Mt4TJ7UiZGvzFKsbgMAM6MqpPfDORXMS+e1F5rSZOMRZk3CSY8Nq2dGgsgDfoTrbPtAIT2txkg= X-Received: by 2002:a05:6808:8917:20b0:424:b3f9:cd12 with SMTP id 5614622812f47-42bb8c6d66amr5742321b6e.20.1753791430490; Tue, 29 Jul 2025 05:17:10 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <3b303d303708b13a2de81dc07753da3a@bastelstu.be> In-Reply-To: Date: Tue, 29 Jul 2025 14:16:59 +0200 X-Gm-Features: Ac12FXw3ChaIQ1B5pdflD89gHpSc6S2OStr3RuL5o_TAoDY6HReCO3IoeJUtIGc Message-ID: Subject: Re: [PHP-DEV] [RFC] Warnings for PHP 8.5 To: "Gina P. Banyard" Cc: =?UTF-8?Q?Tim_D=C3=BCsterhus?= , PHP internals Content-Type: multipart/alternative; boundary="000000000000397f29063b1063f5" From: bukka@php.net (Jakub Zelenka) --000000000000397f29063b1063f5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 28, 2025 at 7:17=E2=80=AFPM Gina P. Banyard = wrote: > On Monday, 28 July 2025 at 16:22, Tim D=C3=BCsterhus w= rote: > > > Am 2025-07-28 16:23, schrieb Gina P. Banyard: > > > > > As I am aware it is in bad taste to shove something new into such a > > > proposal minutes before starting the vote, > > > I'll postpone the vote for a few hours so that at least some people > > > can see and raise objections. > > > > > > For visibility: I object. See sibling email. > > Said sibling email: > > On Monday, 28 July 2025 at 15:31, Tim D=C3=BCsterhus w= rote: > > Am 2025-07-28 16:20, schrieb Gina P. Banyard: > > > > > I've added a whole new section that addresses this, as out of range > > > casts are completely whack. > > > See: > > > > https://wiki.php.net/rfc/warnings-php-8-5#casting_out_of_range_floats_to_= int > > > > > > This effectively is another =E2=80=9CPrimary Vote=E2=80=9D for an entir= ely new proposal > > and as such requires 2 weeks of discussion. If you want to vote on this > > RFC for PHP 8.5, you'll need to drop that section again. > > > > Best regards > > Tim D=C3=BCsterhus > > I am going to bring the RFC in its totality to a vote later today. > You can consider this a new primary vote, vote no, and even argue for thi= s > part of the RFC to be rendered void regardless of the result. > Or just incentivize people to vote no, so you don't even need to deal wit= h > this. > > Claude raised the edge case 2 days ago, and I found the extent of it to b= e > even larger than expected. > I thought that it would be better to create a whole new section rather > than twisting the existing "NAN" warning proposal to fit the new > constraints, > but apparently I should have done this instead and changed all instances > of "NAN" to "non-representable floats". > > I find it increasingly frustrating that trying to make PHP not be > completely insane is met with resistance at every turn, > and I'm once more at the stage that I really should stop wasting my time > and caring about PHP and do something better with my life. > Using "process violations" to prevent PHP from being less shit when an > additional edge case of a proposal is found, for IDK 5 additional years > impacting countless developers, old and new, is something that I find > infuriating. > And I guess this truly showcases how broken and infuriating our RFC > process can be, especially around feature freeze. > > Moreover, if we are going to do legalese, the only thing our policy actua= l > states are the following: [1] > > > There'd be a minimum of 2 weeks between when an RFC that touches the > language is brought up on this list and when it's voted on is required. > [...] > > > For procedural reasons, multiple RFCs may be combined into one, in whic= h > case there may be multiple primary votes. > > Combining multiple RFCs into one does not allow turning a primary vote > into a secondary vote. > > There is no mention of the content of an RFC needing to be "identical" fo= r > 2 weeks. > I guess this is a bit of a loop hole in the process but essentially I think you have got right to add such last minute changes to the RFC and open vote next day (or even next minute) if you want. The current policy doesn't really consider those multi vote RFC's but technically it's still a single RFC which is announced on internal just once and the date of announcement on internals is what matters. If we should change those rules is really for another discussion though. Jakub --000000000000397f29063b1063f5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jul 28, 2025 at 7:17=E2=80=AFPM G= ina P. Banyard <internals@gpb.moe> wrote:
On = Monday, 28 July 2025 at 16:22, Tim D=C3=BCsterhus <tim@bastelstu.be> wrote:

> Am 2025-07-28 16:23, schrieb Gina P. Banyard:
>
> > As I am aware it is in bad taste to shove something new into such= a
> > proposal minutes before starting the vote,
> > I'll postpone the vote for a few hours so that at least some = people
> > can see and raise objections.
>
>
> For visibility: I object. See sibling email.

Said sibling email:

On Monday, 28 July 2025 at 15:31, Tim D=C3=BCsterhus <tim@bastelstu.be> wrote:
> Am 2025-07-28 16:20, schrieb Gina P. Banyard:
>
> > I've added a whole new section that addresses this, as out of= range
> > casts are completely whack.
> > See:
> > https://wiki.p= hp.net/rfc/warnings-php-8-5#casting_out_of_range_floats_to_int
>
>
> This effectively is another =E2=80=9CPrimary Vote=E2=80=9D for an enti= rely new proposal
> and as such requires 2 weeks of discussion. If you want to vote on thi= s
> RFC for PHP 8.5, you'll need to drop that section again.
>
> Best regards
> Tim D=C3=BCsterhus

I am going to bring the RFC in its totality to a vote later today.
You can consider this a new primary vote, vote no, and even argue for this = part of the RFC to be rendered void regardless of the result.
Or just incentivize people to vote no, so you don't even need to deal w= ith this.

Claude raised the edge case 2 days ago, and I found the extent of it to be = even larger than expected.
I thought that it would be better to create a whole new section rather than= twisting the existing "NAN" warning proposal to fit the new cons= traints,
but apparently I should have done this instead and changed all instances of= "NAN" to "non-representable floats".

I find it increasingly frustrating that trying to make PHP not be completel= y insane is met with resistance at every turn,
and I'm once more at the stage that I really should stop wasting my tim= e and caring about PHP and do something better with my life.
Using "process violations" to prevent PHP from being less shit wh= en an additional edge case of a proposal is found, for IDK 5 additional yea= rs impacting countless developers, old and new, is something that I find in= furiating.
And I guess this truly showcases how broken and infuriating our RFC process= can be, especially around feature freeze.

Moreover, if we are going to do legalese, the only thing our policy actual = states are the following: [1]

> There'd be a minimum of 2 weeks between when an RFC that touches t= he language is brought up on this list and when it's voted on is requir= ed. [...]

> For procedural reasons, multiple RFCs may be combined into one, in whi= ch case there may be multiple primary votes.
> Combining multiple RFCs into one does not allow turning a primary vote= into a secondary vote.

There is no mention of the content of an RFC needing to be "identical&= quot; for 2 weeks.

I guess this is a bi= t of a loop hole in the process but essentially I think you have got right = to add such last minute changes to the RFC and open vote next day (or even = next minute) if you want. The current policy doesn't really consider th= ose multi vote RFC's but technically it's still a single RFC which = is announced on internal just once and the date of announcement on internal= s is what matters. If we should change those rules is really for another di= scussion though.

Jakub
--000000000000397f29063b1063f5--