Re: Return Type Hinting for Methods RFC
| From: | Will Fitch | Date: | Wed, 21 Dec 2011 17:22:10 +0000 |
| Subject: | Re: Return Type Hinting for Methods RFC | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56985@lists.php.net to get a copy of this message | ||
Hi Nikita,
I didn't add that as it's not yet in production. As soon as things are finalized and 5.4
is GA, I will gladly add the callable type hint. The change wouldn't be different from
parameter type hinting, and can easily be added.
On Dec 21, 2011, at 12:17 PM, Nikita Popov wrote:
> Hi Will!
>
> One random thought I had while reading the RFC is: What about the
> newly introduced callable typehint? Is this missing by intention? I
> could well imagine so (because it's hard to check what scope
> callability should be checked on), but wanted to be sure on that.
>
> Nikita
>
> On Wed, Dec 21, 2011 at 3:09 AM, Will Fitch <will.fitch@gmail.com> wrote:
>> Hello All,
>>
>> I would like to submit
>> https://wiki.php.net/rfc/returntypehint2 into discussion. A link to
>> the patch for this is provided and can be ran against the current HEAD.
>>
>> There is an older entry still in existence, but this patch is syntactically different. The
>> older entry is located at https://wiki.php.net/rfc/typechecking and
>> is bundled with parameter, scalars, etc.
>>
>> If possible, can someone promote this to the "Under Discussion" category within
>> https://wiki.php.net/rfc?
>>
>> -- Will
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>