Re: [PHP-DEV] Re: [Pre-Vote] Return Types

2015-01-09 Thread Dmitry Stogov
yeah, I remember I saw something :) Lets do the core work first and then decide how the Reflection should look like. Thanks. Dmitry. On Fri, Jan 9, 2015 at 9:26 PM, Levi Morrison le...@php.net wrote: The implementation misses support for reflection. I think, it doesn't make a lot of sense

Re: [PHP-DEV] Re: [Pre-Vote] Return Types

2015-01-09 Thread Levi Morrison
The implementation misses support for reflection. I think, it doesn't make a lot of sense to introduce Reflection support for return types but not for argument types. Probably, it's better to provide a single and consistent RFC for both. There is a draft RFC for this that Sara and I have each

Re: [PHP-DEV] Re: [Pre-Vote] Return Types

2015-01-08 Thread Dmitry Stogov
Hi, I've updated the implementation and now it's even more consistent (it shares code for return and argument type hinting). https://github.com/php/php-src/pull/986/files The implementation misses support for reflection. I think, it doesn't make a lot of sense to introduce Reflection support