[RFC] Consistent type errors for internal functions
| From: | Nikita Popov | Date: | Tue, 05 Feb 2019 11:22:24 +0000 |
| Subject: | [RFC] Consistent type errors for internal functions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-104175@lists.php.net to get a copy of this message | ||
Hi internals,
I'd like to bring forward the following proposal for PHP 8, which will make
(zpp) parameter parsing failures always result in a TypeError (rather than
generating a warning+null, depending on circumstances):
https://wiki.php.net/rfc/consistent_type_errors
The goal here is to remove one of the inconsistencies between user-defined
and internal functions, and to put us in a position where we can actually
start specifying type information in arginfo without fear of breaking
things.
Regards,
Nikita