Re: NULL Coercion Consistency
| From: | Larry Garfield | Date: | Mon, 25 Apr 2022 22:17:43 +0000 |
| Subject: | Re: NULL Coercion Consistency | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117606@lists.php.net to get a copy of this message | ||
On Mon, Apr 25, 2022, at 4:07 PM, Rowan Tommins wrote:
> Off the top of my head, I don't know what other inconsistencies remain,
> but my point was that in every case so far, internal functions have been
> adapted to match userland, not vice versa.
<off topic>
Internal functions error if you pass excessive arguments to a non-variadic function. User-space
functions just ignore the extras. This is an inconsistency that has caused me considerable grief in
the past year.
I know Joe has said he wants userspace to become more strict like internal on this one. I will not
predict what actually happens.
</off topic>
--Larry Garfield