Re: NULL Coercion Consistency
| From: | Craig Francis | Date: | Wed, 13 Apr 2022 14:00:51 +0000 |
| Subject: | Re: NULL Coercion Consistency | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117522@lists.php.net to get a copy of this message | ||
On Mon, 11 Apr 2022 at 19:57, Mark Baker <mark@demon-angel.eu> wrote:
> This doesn't only apply to end user developers, but also to library and
> toolchain developers who need to maintain code covering a range of PHP
> versions
>
Yep, and thank you for commenting.
Library authors are the ones receiving pressure at the moment, and while
users of the library sometimes help (e.g. pull requests), it's a fairly
thankless and time consuming task, with little/no value for scripts not
using
strict_types=1 (you're not the only one simply adding ??
''
everywhere).
Just one thing to add, this is from people who are complaining about a
deprecation notice (which can and is being ignored), now think of the
typical non-library code when it becomes a Fatal Error.
Craig