Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92303 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47376 invoked from network); 14 Apr 2016 15:39:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2016 15:39:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=fsb@thefsb.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=fsb@thefsb.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thefsb.org designates 173.203.187.99 as permitted sender) X-PHP-List-Original-Sender: fsb@thefsb.org X-Host-Fingerprint: 173.203.187.99 smtp99.iad3a.emailsrvr.com Linux 2.6 Received: from [173.203.187.99] ([173.203.187.99:55268] helo=smtp99.iad3a.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/33-25796-999BF075 for ; Thu, 14 Apr 2016 11:39:06 -0400 Received: from smtp13.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp13.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id ABB201004AC for ; Thu, 14 Apr 2016 11:39:02 -0400 (EDT) X-Auth-ID: fsb@thefsb.org Received: by smtp13.relay.iad3a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 4D0651004E2 for ; Thu, 14 Apr 2016 11:39:02 -0400 (EDT) X-Sender-Id: fsb@thefsb.org Received: from [10.0.1.2] (c-66-30-62-12.hsd1.ma.comcast.net [66.30.62.12]) (using TLSv1 with cipher DES-CBC3-SHA) by 0.0.0.0:465 (trex/5.5.4); Thu, 14 Apr 2016 11:39:02 -0400 User-Agent: Microsoft-MacOutlook/14.6.2.160219 Date: Thu, 14 Apr 2016 11:39:00 -0400 To: php-internals Message-ID: Thread-Topic: [RFC] Nullable Return Type Declaration Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3543478742_897223" Subject: [RFC] Nullable Return Type Declaration From: fsb@thefsb.org (Tom Worster) --B_3543478742_897223 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: 7bit I would like to introduce for discussion an RFC proposing and arguing for Nullable Return Type Declaration in 7.1 and deferring for now more general relaxations of 7.0 type as proposed in Levi's two RFCs. https://wiki.php.net/rfc/nullable_returns If anyone would like to collaborate on the RFC, I have a repo you may fork: https://gist.github.com/tom--/e95a10fbe4d34f8a72c9 (although guthub's formatting isn't lovely). I'm looking for help with implementation. Tom --B_3543478742_897223--