diff options
author | Matteo Beccati <mbeccati@php.net> | 2015-06-08 08:32:18 +0200 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2015-06-08 08:46:30 +0200 |
commit | ec281fef480a3159d9974f3fc8ce93033bc0546b (patch) | |
tree | 7a87ce433f9c0a218ef4fa459b65ea64bf047d26 /UPGRADING | |
parent | cf8898fbd53ccab619f225c4a8e031d5f3c0a785 (diff) | |
download | php-git-ec281fef480a3159d9974f3fc8ce93033bc0546b.tar.gz |
Reflection support for type hints and return types
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -540,7 +540,12 @@ Other accessible through stream_get_meta_data() output. - Reflection - . Added a ReflectionGenerator class (yield from Traces, current file/line etc.) + . Added a ReflectionGenerator class (yield from Traces, current file/line, + etc.) + . Added a ReflectionType class to better support the new return type and + scalar type declarations features. The new ReflectionParameter::getType() + and ReflectionFunctionAbstract::getReturnType() methods both return an + instance of ReflectionType. ======================================== 3. Changes in SAPI modules |