On Mon, Aug 18, 2014 at 1:43 PM, Dmitry Stogov <dmi...@zend.com> wrote: > Hi Levi, > > The implementation is really not a problem. It must be quite simple and I > may take care about it. > The problem that we can't come to agreement on scalar type hinting for years > :( > > Thanks. Dmitry. > > > On Mon, Aug 18, 2014 at 9:57 PM, Levi Morrison <morrison.l...@gmail.com> > wrote: >> >> On Mon, Aug 18, 2014 at 8:21 AM, Dmitry Stogov <dmi...@zend.com> wrote: >> > I see your point. For me they just don't have a lot of sense without >> > each >> > other. >> >> I am the author of two of those RFCs. I've worked with several members >> of the HHVM team so that any inconsistencies are planned and recorded >> (or will be; I know of one inconsistency in return types that is not >> currently recorded). >> >> I also am definitely not in favor of merging them, for the reasons >> Andrea outlined. >> >> Also, Dmitry, if you have interest in working on the implementations >> for these RFCs I'm sure Joe would appreciate the help (I know I >> would).
Joe was able to get it mostly completed in a really short period of time, but there is some issue going on with opcache. I have forgotten the details now, but I think it had to deal with the fact that the types need to have delayed binding. Joe or Anthony, can you maybe give more information here? Additionally, the implementation was built off of master because it was created before PHPNG; I think I probably want to target PHP 7 instead of 5.7 (again, PHP 7 was only being dreamed of then) so it would need rebased at least. Here's the work by Joe and Anthony: https://github.com/krakjoe/php-src/compare/returntypehinting -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php