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 for return types but not for argument types. Probably, it's better to provide a single and consistent RFC for both. Thanks. Dmitry. On Thu, Jan 1, 2015 at 2:43 AM, Levi Morrison <le...@php.net> wrote: > On Wed, Dec 31, 2014 at 4:26 PM, Levi Morrison <le...@php.net> wrote: > > Dear Internals, > > > > I have changed the variance of return types to be invariant. I have > > given a further example of what invariance does and does not mean in > > the RFC, as there has been some confusion about it in previous > > discussions. > > > > Are there any other questions or major concerns before I put this to > vote? > > > > I don't have any at this time, except that I don't quite yet have a > > working implementation after some changes to master. I expect to have > > a working implementation in a couple of days at which point I intend > > to move it back into voting phase. > > > > Cheers, > > > > Levi Morrison > > My apologies; during some editing it seems I removed the RFC link: > https://wiki.php.net/rfc/returntypehinting > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >