RE: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Pierre Joye | Date: | Wed, 16 Jul 2014 09:34:17 +0000 |
| Subject: | RE: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75583@lists.php.net to get a copy of this message | ||
On Jul 16, 2014 4:29 PM, "Zeev Suraski" <zeev@zend.com> wrote:
> For me the introduction of a new set of rules is a deal breaker.
> I'm -1 on the RFC the way it is, and +1 if we implement these 'hints' as
> implicit casts, plus change implicit casts to emit E_CAST in case of loss
> of data or 'bogus' conversions.
I am -1 in yet another error (as in E_*), which will be just as painful to
deal with than any other.