Re: [RFC] Deprecate passing null to non-nullable arguments of internal functions
| From: | Josh Bruce | Date: | Tue, 01 Dec 2020 21:21:35 +0000 |
| Subject: | Re: [RFC] Deprecate passing null to non-nullable arguments of internal functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112364@lists.php.net to get a copy of this message | ||
> On Dec 1, 2020, at 8:57 AM, Nikita Popov <nikita.ppv@gmail.com> wrote:
>
> I've put up an RFC to make the handling of "null" arguments consistent
> between internal and user-defined functions:
>
> https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg
> <https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg>
>
> I started an informal discussion for this change during the 7.4 cycle
> already, but decided to postpone the change at the time.
For what it’s worth, you had me at more consistent (and constrained) use of “null”.
Cheers,
Josh