On Mon, 28 Feb 2022 at 17:35, Guilliam Xavier <guilliam.xav...@gmail.com>
wrote:

> Call me devil's advocate, but is it too late to discuss revisiting past
> decisions and consider changing direction towards 1 for userland functions
>


Hi Guilliam,

tbh, for those who use `strict_types=1` nothing changes, so we can ignore
them... for everyone else, nothing would break if user functions did start
coercing NULL (if anything it just makes PHP more consistent)... whereas
the current direction would add a Type Error exception for developers who
aren't familiar with them, and those developers will just get annoyed at
having to convert those NULL values manually (see the complaints from
developers upgrading to PHP 8.1).

Craig

Reply via email to