Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89578 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64015 invoked from network); 3 Dec 2015 15:57:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2015 15:57:34 -0000 X-Host-Fingerprint: 178.62.40.5 ajf.me Received: from [178.62.40.5] ([178.62.40.5:19433] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/7A-02069-C6660665 for ; Thu, 03 Dec 2015 10:57:33 -0500 Message-ID: <16.7A.02069.C6660665@pb1.pair.com> To: internals@lists.php.net References: Date: Thu, 3 Dec 2015 15:57:29 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 178.62.40.5 Subject: Re: Something|null return type declaration From: ajf@ajf.me (Andrea Faulds) Hi Tom, Tom Worster wrote: > Not being a regular on this list, I want to ask if there is history of > discussion of a "something or nul" return type declaration for PHP 7. Yes. In fact there are currently two RFCs proposing different approaches for this, if you look at the wiki: - http://wiki.php.net/rfc/nullable_types - http://wiki.php.net/rfc/union_types > If this is already argued to death, or even just a bit, I'd like to read the > RFC(s) and discussion. Grateful for pointers. If you search the archives of this mailing list (e.g. with marc.info, though there are other, probably better, websites) you can look at the discussions for these RFCs. Hope this is helpful. -- Andrea Faulds http://ajf.me/