Hi Theodore,

I enjoyed reading this RFC because it was so much better than the recent deprecate-fuzzy-casts RFC.

My only critique is that this RFC must mention the php.ini treatment of bools, and whether or not that would be changed.  The concern here:  Very near the top of php.ini-production, we have a pattern of setting the bools display_startup_errors, log_errors, etc, using INI literals On and Off.

https://github.com/php/php-src/blob/82ec0c066ca6d6d60713e0c7aedc24af56f879d6/php.ini-production#L102

https://www.php.net/manual/en/errorfunc.configuration.php#ini.display-startup-errors

If this is not directly relevant to the RFC, that still should be clearly stated in the RFC, perhaps even with a brief discussion of the ini_get() behavior.

Thank you for your efforts!

-------------
Robert Chapin

On 11/29/2026 9:33 AM, Theodore Brown wrote:
Hello Internals,

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


Looking forward to your feedback,

Theodore Brown

Reply via email to