[PR][php-src][#1190][master] - Reflection support for type hints and return types
| From: | noreply@php.net | Date: | Sun, 22 Mar 2015 22:27:04 +0000 |
| Subject: | [PR][php-src][#1190][master] - Reflection support for type hints and return types | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-2815@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/php-src/pull/1190
Pull Request Description:
A work based off of Sara's https://wiki.php.net/rfc/reflectionparameter.typehint
with a twist.
I've changed ReturnTypeAnnotation back to ReturnTypeHint, as this is still what we're
calling them.
The new methods are:
* ReflectionFunctionAbstract::hasReturnTypeHint()
* ReflectionFunctionAbstract::getReturnTypeHint()
* ReflectionTypeHint::isInstance()
* ReflectionTypeHint::isScalar()
References:
http://markmail.org/message/meyx6t52opv7xfbo
Btw, not trying to bypass the RFC process, but atm I don't have time to propose one.