Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128106 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 971711A00BC for ; Fri, 18 Jul 2025 12:49:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752842863; bh=23LuskxnBU/vZbEtgLc910WEyVT7DsZwULs7J5haLAo=; h=Date:To:From:Subject:In-Reply-To:References:From; b=g0368i6NZzc2OkqpAKq2EsQ9lnSCE/HqP3INtNjJRj8pcX5tfx5DXdyXOVvDL2346 lU5QhmZLHandQKRVh7IQJjGkRwS2uoewwQeJYVV6wY/3E6GwIdIAvUYGBqxH6rNLtl JMAiI0FhaA/tugOQ7T09iFxse++g31YQY7XLd6CdvWjgru3GrNDpefnTGIMfPSU8Kt KzevkYMuiboyugmTMQVBvOl1Y99fegjjDYPffqD2ZwwQJNd/MMdX+GRhL55XW8gjQN 3oLwkLKdnGaN+eTdiXYE5kBvPglomjlwauylFqFEGRA+e+hM5Ds+bEzpfeV7pYDw7R 57gXgPqe5Vm+g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BD29A180731 for ; Fri, 18 Jul 2025 12:47:41 +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=-1.2 required=5.0 tests=BAYES_20,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 ; Fri, 18 Jul 2025 12:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1752842965; x=1753102165; bh=23LuskxnBU/vZbEtgLc910WEyVT7DsZwULs7J5haLAo=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=M7/aQMkGA5vWcY+SreI47yVhohRmK7Wsg5OUMZsjkbeCAOaF/BaJjOj0VgBGewuBQ SqSMKo+CGRBYSR+fzglCa6yNwIrC2lHF/GoS6oKWYi9P05iSb6OMcH98EcICJbQtUn ByxXAGqWx5UuJyzXZu4iHjRjLHLm6YVRg8cCV4gPyK+35sdACQCSTZUyM7gxjci2M/ E/RHvWNnF9hi/B+YNHhS98XKCEJlvzh+MTgqUAIAs+ALfh2U6QHRqb4jxxkHwpryX/ D6jjK/S7d6Xw15GfXvKM/KYIakz6TqOXs5R3PfoAuX0Fg5VCGQAgouFJS6hQqRewFX ufEhBstepB8wQ== Date: Fri, 18 Jul 2025 12:49:22 +0000 To: PHP internals Subject: Re: [PHP-DEV][RFC] Deprecate type juggling to and from bool type within the function type juggling context Message-ID: In-Reply-To: <3Yl0UGauXmKqk7s7Hqbv6iaXru-hZHf8Wj6VjwwihgRSaqZo5EZ2ndsOle-ae41C-lvnirynWt6PpuD7UJPL0zPCw18QHFE81Eb--fiiEbc=@gpb.moe> References: <3Yl0UGauXmKqk7s7Hqbv6iaXru-hZHf8Wj6VjwwihgRSaqZo5EZ2ndsOle-ae41C-lvnirynWt6PpuD7UJPL0zPCw18QHFE81Eb--fiiEbc=@gpb.moe> Feedback-ID: 96993444:user:proton X-Pm-Message-ID: be374e91df0f8fa6c824f6e71f733dadfe3d3df0 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, 2 June 2025 at 17:11, Gina P. Banyard wrote: > Hello internals, >=20 > This is the first RFC out of a set of type system related RFCs I want to = propose for PHP 8.5. > It also used the recently enabled Markdown support on the wiki, so there = might be a few oddities. >=20 > The RFC proposes to deprecate implicit type coercions to and from the boo= l type for other scalar types. > This a "weak" mode change only, as when strict_types are enabled none of = these coercions can happen. >=20 > Let me know what you think about it. >=20 > RFC: https://wiki.php.net/rfc/deprecate-function-bool-type-juggling As the discussion doesn't feel productive any longer as this is now just ab= out clashing opinions I will open the vote in the coming days. I have slightly changed the wording and expanded on some points, but the RF= C is effectively unchanged. RFC: https://wiki.php.net/rfc/deprecate-function-bool-type-juggling Best regards, Gina P. Banyard