Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89568 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44668 invoked from network); 3 Dec 2015 14:58:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2015 14:58:53 -0000 Authentication-Results: pb1.pair.com header.from=fsb@thefsb.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=fsb@thefsb.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thefsb.org designates 173.203.187.67 as permitted sender) X-PHP-List-Original-Sender: fsb@thefsb.org X-Host-Fingerprint: 173.203.187.67 smtp67.iad3a.emailsrvr.com Linux 2.6 Received: from [173.203.187.67] ([173.203.187.67:56642] helo=smtp67.iad3a.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/E6-02069-CA850665 for ; Thu, 03 Dec 2015 09:58:53 -0500 Received: from smtp1.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp1.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 23703180A0C for ; Thu, 3 Dec 2015 09:58:50 -0500 (EST) X-Auth-ID: fsb@thefsb.org Received: by smtp1.relay.iad3a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 13BFB180A08 for ; Thu, 3 Dec 2015 09:58:48 -0500 (EST) X-Sender-Id: fsb@thefsb.org Received: from [10.0.1.2] (c-73-4-147-142.hsd1.ma.comcast.net [73.4.147.142]) (using TLSv1 with cipher DES-CBC3-SHA) by 0.0.0.0:465 (trex/5.5.4); Thu, 03 Dec 2015 09:58:50 -0500 User-Agent: Microsoft-MacOutlook/14.5.8.151023 Date: Thu, 03 Dec 2015 09:58:45 -0500 To: php-internals Message-ID: Thread-Topic: Something|null return type declaration Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3531981529_5525108" Subject: Something|null return type declaration From: fsb@thefsb.org (Tom Worster) --B_3531981529_5525108 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: 7bit 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. I'm only interested in this narrowly defined change, the PHP equivalent of a `/** @return Something|null */` dockblock tag *without* generalizing to `/** @return A|B|C... */`. 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. Tom --B_3531981529_5525108--