Re: [RFC] Return type-hint
| From: | Pas | Date: | Wed, 27 Apr 2011 09:29:35 +0000 |
| Subject: | Re: [RFC] Return type-hint | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52023@lists.php.net to get a copy of this message | ||
On Wed, Apr 27, 2011 at 09:23, Ferenc Kovacs <info@tyrael.hu> wrote:
> On Thu, Jul 29, 2010 at 3:49 AM, Felipe Pena <felipensp@gmail.com> wrote:
>
>> Hi all,
>> I've updated the patch and the RFC that proposes the return type-hint
>> implementation (Engine + Reflection).
>> The proposed implementation is working just like the last changes in the
>> parameter type-hint (in trunk). i.e. working with the "scalar" and
>> "numeric"
>> pseudo-types.
>>
>> http://wiki.php.net/rfc/returntypehint
>>
>> Thoughts?
>>
>> --
>> Regards,
>> Felipe Pena
>>
>
> for the upcoming 5.4 release, I think it would be extremely useful, even
> without the scalar stuff.
>
> Tyrael
>
Hi,
Now that someone else necromanced this thread back to life, may I ask
which variant of Type Hinting have emerged from the debate as the
candidate for implementation?
Also, I seem to remember a variant with both strict and weak type
hinting/checking, using parentheses to distinguish behavior. What
happened to that, never made it to an RFC?
--
Pas