RE: [PHP-DEV] [RFC DISCUSSION] var_type
| From: | Theodore Brown | Date: | Sat, 25 Jun 2016 17:57:27 +0000 |
| Subject: | RE: [PHP-DEV] [RFC DISCUSSION] var_type | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94254@lists.php.net to get a copy of this message | ||
On Sat, 25 Jun 2016 17:25 +0200 Fleshgrinder wrote:
>
> I finished the RFC:
>
> https://wiki.php.net/rfc/var_type
>
Thanks for this RFC! I think it's a great way to make PHP's
type system more consistent without breaking backwards
compatibility. I especially like that it would fix confusing
error messages like "Argument must be an instance of boolean,
boolean given."
I noticed that the "A Successor" section of the RFC still contains
a bunch of references to typeof (in the function signature and code
examples). Did you forget to change these to var_type?
Theodore Brown