Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128289 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 4DA221A00BC for ; Tue, 29 Jul 2025 09:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753779606; bh=nO14q47XHBePQLQbmbEjWUcasaZG0mgOBrrxD9xBdjw=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=HiZYft+iqpPVRgZL23+HVBIcB0n1Gq7tTexkhBJJjCmgKpSX5m4cIInvMeMloXN/5 fISlJnMn7j7mk1TYw1bAGamMPRfBUjuzhR9I1b0Zv2jm55+YSspYZqVZXwp9wupkOk b4iByeAcJvQSxMtajGwXEIdLNkpTS8sS5D+xdzRm/gy39iSS4KlPKn5ZuaY+0jqVF2 NfUjSp6F2yaZ4CNKretEBwZaqti4m5n7pryEoh2SfgNARPt0F9HPz7Qx7oP0o/KJve xwkGgXH8wr5SEoDM7q2oPShdbqygvehB2sqdgWyxI/QlqvqWmdf9pH7vjQFZPU4ad1 QN15rNA5Yrxmw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2B21418005D for ; Tue, 29 Jul 2025 09:00:04 +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=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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-4323.protonmail.ch (mail-4323.protonmail.ch [185.70.43.23]) (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 09:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1753779704; x=1754038904; bh=z/uJ8aRsO+/Olo9GIyvn1HT/oiln7hvU3gOT1jELmRM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=j9xqjxZ1edIBVllxY4wy5PS0x8bvjY5Ai6x5vTlpGgkYV+Y5jHcFnBJBW9FvTBpY6 0Q57ZV+diyBVwAInpFjZOA4XMHGKUl4t3nG/nCX0HUMWOvVDoP0zox7qkyCPWwwqQU xeefQFdY9JRPlE6peE5mL65nkpownS8kHV9TdO5QOkPhHDGBZabaAWgWpDfJr8VXaf zKFvmBQX3paA3OsybjchdtF00J1Aml6iJrB6c19cDeoW7sAkcxMn4H058ClkJVo/1g pV0x0UPWbDxIbKAfHo6ivp2+uGgEIt09dlcfp252fy2va5jN+19BJh8iKj+f2JMux3 LeihVEMidTfvQ== Date: Tue, 29 Jul 2025 09:01:40 +0000 To: Ilija Tovilo Cc: PHP internals Subject: Re: [PHP-DEV] [RFC] Warnings for PHP 8.5 Message-ID: <-EPNf2A21qLIrIyEvNmQxV_tNTa1IO5hU-LHGBhjfnVRB33qiwK3yhVV7AxDKSTDUl9ihRpapZLckSgnCn7t9RvUj9Jbtjnx1VLYqCQO6BI=@gpb.moe> In-Reply-To: References: <3b303d303708b13a2de81dc07753da3a@bastelstu.be> Feedback-ID: 96993444:user:proton X-Pm-Message-ID: dde8980a57d8c577e8676c43ca8770d025e44f84 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Monday, 28 July 2025 at 19:08, Ilija Tovilo wro= te: > Hi Gina >=20 > On Mon, Jul 28, 2025 at 7:15=E2=80=AFPM Gina P. Banyard internals@gpb.moe= wrote: >=20 > > I find it increasingly frustrating that trying to make PHP not be compl= etely 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. >=20 >=20 > I appreciate all the work you have put into PHP. However, I don't > think threatening to quit PHP over disagreements (which is not the > first time either, I believe) creates a healthy environment for > discussion. Internals should not fear voicing their concerns. I also > believe the concern is not technical, and this would have no trouble > passing in the next version. >=20 > Ilija Hi Ilija, Let's take a breath and review what's going on. My original proposal was to warn when type juggling NAN, as this is unexpec= ted=20 behaviour, and this was discussed on the mailing list. Then, just this Saturday, Claude pointed out that INF also has this problem (casting INF to= int produces zero, which is even more clearly a problem). After confirming thi= s and thinking about it, I wanted to modify my existing wording to account fo= r this edge case; doing so would have resulted in very convoluted language, however, so instead I added the new proposal to make it clear this is a clo= sely related but even more narrow change. This is the highest possible bar that I have set: adding the new edge case = as a secondary vote would have been completely justified, and this would require= a smaller majority of a vote. If I was worried about a procedural spanner in= the works, I could have just shoehorned this minor change into the existing tex= t and this would also have been completely justified. I made the changes in = the clearest possible way for the benefit of people reading the wiki. I will now open the vote as-is, anyone is free to convince people to simply vote against it, or do the most procedurally correct thing of starting an R= FC to render it void after the fact (regardless of the outcome of this vote). Regarding the suggestion to simply kick the can down the road to the next version: we do not know if the next version will be 9.0, which if the same request is made about deprecation as 8.0 had, this would mean the warning f= or this could not be introduced until 9.1, and then it could only be upgraded = to an error by PHP 10.0. This seems like a disproportionate amount of extra wo= rk for such a minor change. I agree it is important for internals to voice their concerns. I am simply upset that a very minor *procedural* disagreement is once again incentivisi= ng me to smuggle in common-sense changes through procedural back doors rather = than write my proposals clearly. This seems like a clearly positive and minor change; anyone who disagrees on *technical* grounds can vote no, and if the procedural issue really is so important, there is a recourse available for this. Having to fight these kinds of battles over my work to improve the language is needlessly taxing, and this too is a form of unhealthy environm= ent. Best regards, Gina P. Banyard