Re: [RFC][Vote] Return Types
| From: | Andrea Faulds | Date: | Wed, 05 Nov 2014 21:24:47 +0000 |
| Subject: | Re: [RFC][Vote] Return Types | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78747@lists.php.net to get a copy of this message | ||
> On 5 Nov 2014, at 21:05, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
>
> Hi!
>
>
>> Do we always load the class in the hint? We could perhaps only do it
>> for inheritance checks?
>
> No, classes are not loaded for type checks, since it would be pointless
> - if the class is not loaded, you could not have a value of that type,
> so if the class is not present, the answer is "no".
I'm aware master doesn't. I'm asking about the patch. :/
--
Andrea Faulds
http://ajf.me/