Re: Return Type Hinting for Methods RFC

From: Date: Wed, 21 Dec 2011 22:28:51 +0000
Subject: Re: Return Type Hinting for Methods RFC
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-56992@lists.php.net to get a copy of this message
Hi Pierre and Nikita, I have added callable to the patch and updated the RFC entry to reflect the changes. Please verify and let me know if you have any issues. On Dec 21, 2011, at 2:33 PM, Pierre Joye wrote: > hi Will, > > You should add it now, while 5.4 final is not released yet, this > feature exists already and should be part of the RFC, to be complete. > > Cheers, > > On Wed, Dec 21, 2011 at 6:22 PM, Will Fitch <will.fitch@gmail.com> wrote: >> 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 >>>> >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | > http://www.libgd.org

« previous php.internals (#56992) next »