Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78106 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77231 invoked from network); 16 Oct 2014 04:39:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2014 04:39:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.44 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.218.44 mail-oi0-f44.google.com Received: from [209.85.218.44] ([209.85.218.44:45052] helo=mail-oi0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/00-11594-0FB4F345 for ; Thu, 16 Oct 2014 00:39:12 -0400 Received: by mail-oi0-f44.google.com with SMTP id x69so2109110oia.3 for ; Wed, 15 Oct 2014 21:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=4eAe0bIZv1uQwlcjDmKmJqRBL21ER0zafMNuBBgCg4A=; b=E0t2DyIBaGDJQeQMW9hvgFIqa/Z6xMCxpSwvWoqJdLmTSe7tFHMwPkSPFxkAjqaizG gifW9saFpGddorUdcwvz3xXXRpJL32K76xJfjL5haJGCKlXmwWEVdOJCOYRYnopRTRVx 0JHcR59YXtZ8irDhFwVaWSJ1lF3eu6t/xkF87LXdt969KSiDqFfzTn8pJ2FOFax/oT9N vD2ghOW0ieZzlAPe43gr8LwvOa/oQqoi1NFQnzo+Q7Cvq/Xq/Yw8b8HTy88ovaFy4Pzk vBgs15RstTA2F6QoXuIISs5p7o2PpdBh9wkVOb2TdjuJwsLX8XGK304ArJU68RiCT86T e8Pg== MIME-Version: 1.0 X-Received: by 10.182.50.198 with SMTP id e6mr6561520obo.45.1413434349580; Wed, 15 Oct 2014 21:39:09 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.76.75.37 with HTTP; Wed, 15 Oct 2014 21:39:09 -0700 (PDT) Date: Wed, 15 Oct 2014 22:39:09 -0600 X-Google-Sender-Auth: q6uHxnjHrvc-y4gM0RP6R2CIR6Q Message-ID: To: internals Content-Type: text/plain; charset=UTF-8 Subject: RFC: Return Types Update From: levi_morrison@byu.edu (Levi Morrison) 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