Re: [PHP-DEV] [RFC] Deprecate boolean to string coercion

2021-06-26 Thread Kamil Tekiela
Hi George, As someone who has fallen victim to this silent bug in the past, I think I would be on board with this change. Why only implicit casting? If we compare this to the array-to-string casting then the warning happens for both. It would be more consistent to deprecate both implicit and

Re: [PHP-DEV] [RFC] Deprecate boolean to string coercion

2021-06-25 Thread G. P. B.
On Tue, 22 Jun 2021 at 23:52, tyson andre wrote: > Hi George P. Banyard, > > > With Ilija we are proposing a short RFC to deprecate coercion from bool > to > > string: > > https://wiki.php.net/rfc/deprecate-boolean-string-coercion > > > > As this is the final day for any RFC to be even able to

Re: [PHP-DEV] [RFC] Deprecate boolean to string coercion

2021-06-22 Thread tyson andre
Hi George P. Banyard, > With Ilija we are proposing a short RFC to deprecate coercion from bool to > string: > https://wiki.php.net/rfc/deprecate-boolean-string-coercion > > As this is the final day for any RFC to be even able to land in PHP 8.1 > the voting is expected to start in two weeks on

[PHP-DEV] [RFC] Deprecate boolean to string coercion

2021-06-22 Thread G. P. B.
Hello Internals, With Ilija we are proposing a short RFC to deprecate coercion from bool to string: https://wiki.php.net/rfc/deprecate-boolean-string-coercion As this is the final day for any RFC to be even able to land in PHP 8.1 the voting is expected to start in two weeks on the 6th of July.