On Monday, 2 June 2025 at 17:11, Gina P. Banyard <intern...@gpb.moe> wrote:
> Hello internals, > > 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. > > The RFC proposes to deprecate implicit type coercions to and from the bool > type for other scalar types. > This a "weak" mode change only, as when strict_types are enabled none of > these coercions can happen. > > Let me know what you think about it. > > 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 about clashing opinions I will open the vote in the coming days. I have slightly changed the wording and expanded on some points, but the RFC is effectively unchanged. RFC: https://wiki.php.net/rfc/deprecate-function-bool-type-juggling Best regards, Gina P. Banyard