Re: [RFC] Void Return Type
| From: | Andrea Faulds | Date: | Sat, 14 Feb 2015 12:44:46 +0000 |
| Subject: | Re: [RFC] Void Return Type | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82684@lists.php.net to get a copy of this message | ||
Hi,
> On 14 Feb 2015, at 03:32, reeze <reeze@php.net> wrote:
>
> Do we really have to throw an catchable fatal error?
>
> the other return types make sense, why so strict?
We throw E_RECOVERABLE_ERROR for all type errors, both for parameters and return types. It's
not anything new.
--
Andrea Faulds
http://ajf.me/