RE: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Zeev Suraski | Date: | Mon, 14 Jul 2014 15:06:19 +0000 |
| Subject: | RE: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75470@lists.php.net to get a copy of this message | ||
> A compromise by adding more inconsistencies.
I agree.
> I can buy the cast of scalars vs hint--of-complex types, but definitely
> not the
> introduction of a new group of casting rules. Keep it simple.
I agree too.
And it should not be a recoverable error, it should be a notice (or
equivalent).
Zeev