Hey,
On 21.7.2025 14:21:49, Gina P. Banyard wrote:
Hello internals,
I have started the vote for my "Deprecate type juggling to and from bool type within
the function type juggling context" RFC:
https://wiki.php.net/rfc/deprecate-function-bool-type-juggling
It will run for two weeks and close on Monday the 4th of August.
Best regards,
Gina P. Banyard
I'm voting no on this RFC as I think the rejected feature described in
the RFC is the way to go (relaxing true and false to allow type coercions).
For me, the main purpose of the singleton true/false boolean types is
rather being explicit on what's actually stored/returned, rather than
not being assignable an integer (e.g. 0 for false).
Bob