Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78107 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86112 invoked from network); 16 Oct 2014 07:44:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2014 07:44:20 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.173 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.173 mail-vc0-f173.google.com Received: from [209.85.220.173] ([209.85.220.173:38774] helo=mail-vc0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/D0-11594-1577F345 for ; Thu, 16 Oct 2014 03:44:19 -0400 Received: by mail-vc0-f173.google.com with SMTP id ij19so2276095vcb.4 for ; Thu, 16 Oct 2014 00:44:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=VYY5VjeGawCF9JxaiYfh0jkMCJlu5krlufjlnwLaRUw=; b=UG3KX1lxKkW7JhRfCjj7NjWWhft8VDqZfNb7HoE7qHoOKg+H8MvONb7KDxgoBqoaP/ 1dzIuQhQ76cO/Jl1/NIqBAeC3aWYFzgcfHuJ7Z0jEGBFNqA90tP0ZD4Z1eFSbfM26SOt 3Wl7qjK6HHNpsyvPrSIZicNmywUH/FDAuxd1BR/8nU8SfUkv8g7SecNRuUOyhxFYG35y W4D0Lji+URzqSllsb1Em1BpI3uJXZikSYmSmUpNcGbpZRhNrhW5DLvWmOWGxENFVzbW9 gvqpNzSAP/n0UfimjFkIjJLOuJFqFvxPwCpX3M3aFmAD0bEviTQeVlPkXOU8Mm0rOUiT Z2OA== X-Gm-Message-State: ALoCoQk5u38JTIFmLEoJSqOKiPstEiatylWxvAX7nHj2fSY5tzexPZao917SIOF7xRDs+UahI2a58QJ/troxsLix7D3wMe8ALuUFFqP1CDDXtpQNuxx5CONNppgcp9yiluqY47wrCWq49X03MgA/ug4317mi9ucV4A== MIME-Version: 1.0 X-Received: by 10.52.139.194 with SMTP id ra2mr14046058vdb.25.1413445455012; Thu, 16 Oct 2014 00:44:15 -0700 (PDT) Received: by 10.52.4.41 with HTTP; Thu, 16 Oct 2014 00:44:14 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Oct 2014 11:44:14 +0400 Message-ID: To: Levi Morrison Cc: internals Content-Type: multipart/alternative; boundary=bcaec51a77c8418ef80505856af8 Subject: Re: [PHP-DEV] RFC: Return Types Update From: dmitry@zend.com (Dmitry Stogov) --bcaec51a77c8418ef80505856af8 Content-Type: text/plain; charset=UTF-8 The RFC is very consistent. It proposes only a part of the desired type-hinting features, but this part is not questionable for me. +1 The implementation has some minor issues. Levi, if you won't object, I would like to play with implementation a bit, right before commit (if it accepted). Thanks. Dmitry. On Thu, Oct 16, 2014 at 8:39 AM, Levi Morrison wrote: > Dear Internals, > > I finally have a working implementation for return types RFC[1] built > on top of master. There are a few notes in the PR[2] about the > implementation. I invite you all to review the PR and provide > feedback. > > This means that I will soon move the return types RFC to voting phase. > If you have not yet had time to review the RFC recently I invite you > to do so now. > > The RFC has been slightly altered since the last discussion: > - The RFC now targets PHP 7 (previously PHP 5.7). > - There is a new section about disallowing return types on certain > methods[4]. > - The design and accompanying section of reflection[3] has been > rewritten entirely. > > Regardless of the result of the RFC, I want to thank the many people > who have been helpful to me as I have learned php-src and iterated > over this RFC. > > [1]: https://wiki.php.net/rfc/returntypehinting > [2]: https://github.com/php/php-src/pull/820 > [3]: https://wiki.php.net/rfc/returntypehinting#reflection > [4]: > https://wiki.php.net/rfc/returntypehinting#methods_which_cannot_declare_return_types > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --bcaec51a77c8418ef80505856af8--