> Am 29.11.2026 um 15:33 schrieb Theodore Brown <[email protected]>:
> I've been planning this RFC for quite some time, and during the Thanksgiving
> break I finally had time to finish it:
> https://wiki.php.net/rfc/deprecate-lossy-bool-conversions
One thing I was surprised by when looking at the PR's changes
https://github.com/php/php-src/pull/25889/changes
is the huge number of tests which have been changed.
Looking through some of them I realized that they are sometimes cleanups
(possibly triggered by the new deprecation warning?) but it is not always
obvious why the change was necessary or if it maintains the spirit of the test
().
I am a bit worried about the actual impact on legacy code bases and will have
to give the patch a try before coming to my final conclusion.
Regards,
- Chris