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.fi...@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