Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92905 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6509 invoked from network); 28 Apr 2016 21:19:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2016 21:19:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 207.46.100.118 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 207.46.100.118 mail-by2on0118.outbound.protection.outlook.com Received: from [207.46.100.118] ([207.46.100.118:61123] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/BF-28296-16E72275 for ; Thu, 28 Apr 2016 17:19:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QT11J9pr+X7tDm0rFcogSTUjGeoEUCyR+yaUBFiv2X4=; b=pUsfJbd5yJKyx6yldVAzPCW67RUHJWYrg9U32SdXPnH1bcV9HicOhalTqjkoLJ7tufC1YAUBigqjxNdhp5oCaE0zUwvLT9/JmMdhyh6XG79FsQfCNXVSgvVNZ4JAnBo3L9SIuhUUZPJDselQ0nIJRTh8uhf8CgLZNy0XJ5Evqmk= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by BY2PR0201MB1783.namprd02.prod.outlook.com (10.163.72.25) with Microsoft SMTP Server (TLS) id 15.1.477.8; Thu, 28 Apr 2016 21:19:23 +0000 Received: from BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) by BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) with mapi id 15.01.0477.012; Thu, 28 Apr 2016 21:19:23 +0000 To: Tom Worster , Levi Morrison CC: internals Thread-Topic: [PHP-DEV] Re: Request to withdraw RFC's for nullable types for only return values Thread-Index: AQHRoWRe782dRDYm1kuNWD0UZVTnlZ+fm7+pgAALLYCAAAAymoAAAjiAgAACLoCAAA56AIAAAHIigAADwQCAAAE64oAAGk+AgAAI5w8= Date: Thu, 28 Apr 2016 21:19:23 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: thefsb.org; dkim=none (message not signed) header.d=none;thefsb.org; dmarc=none action=none header.from=zend.com; x-originating-ip: [92.62.57.172] x-ms-office365-filtering-correlation-id: a66b19db-2f8c-4231-c7cc-08d36faac560 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1783;5:ZNtLEemYkEKDhmKW3SB0O/gRUFsOIltPlifWI5OW8nXvHOPUSYMBbsspK/MpJromw3bIx/sklaWC6Kv05bSndFHK+xbCmT7Rj9Kg//zV1ZsIM18qJJscMXFLOiAoCaYQtKKYHDXHC1uR1D7nSsAhkg==;24:naLSodh1qeXyYOtpliY24VWZmwcsKmBTJ0/i0iRdI9aIciUIQZK2nD/44icf/KIunQjlqJCixKlCecFkiFTwGsSNHSkeaT/pnqN2cUjBTpc=;7:KuVMAmhCxPJ+qlM3qIc/OZrOt0Cjm+SRCo7w+N5itW1Wp/Ad3zzOf4YUSXWwlYB7J11uTBSu9IVXM6/DIri+JtsOOym6OENhfBWARNYAqJJFpnslNloFs91cOsaYZrSM18rGA3YsLK2pRUyLrWNjHeWenfnlRvBbe16e5ZWZGECYgMPBdFwfSYyfh8+lrTMn x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1783; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521072)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:BY2PR0201MB1783;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1783; x-forefront-prvs: 0926B0E013 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(24454002)(19580395003)(122556002)(11100500001)(19580405001)(3280700002)(1096002)(66066001)(81166005)(1220700001)(3660700001)(2906002)(3846002)(102836003)(33656002)(586003)(87936001)(5004730100002)(74316001)(6116002)(86362001)(5008740100001)(92566002)(99286002)(106116001)(77096005)(93886004)(15975445007)(4326007)(50986999)(10400500002)(76576001)(9686002)(189998001)(2900100001)(76176999)(5001770100001)(54356999)(5003600100002)(2950100001)(5002640100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0201MB1783;H:BY2PR0201MB1784.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2016 21:19:23.5324 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1783 Subject: Re: [PHP-DEV] Re: Request to withdraw RFC's for nullable types for only return values From: dmitry@zend.com (Dmitry Stogov) More or less right. It's easy to archive the "right" goal, if you own the b= oth football teams. ________________________________________ From: Tom Worster Sent: Thursday, April 28, 2016 11:40:53 PM To: Levi Morrison; Dmitry Stogov Cc: internals Subject: Re: [PHP-DEV] Re: Request to withdraw RFC's for nullable types for= only return values Levi, From one reasonable point of view, Union and Nullable are in conflict with each other. If one prefers Union then one might argue in favor of Union over related but different proposals. When it comes to the vote, it's difficult to support both except with the argument that "I can settle for Nullable if Union doesn't pass vote", which, when you think about it, is not really supporting both. If Union goes to vote before anything else, voters will to take into account what they expect to subsequently go to vote. So your stance relative to that matters. Hence it's not really clear what you want while you continue to own both. This is how I understand Dmitry's concerns (correct me if I'm wrong, Dmitry). It would be easier to understand if you would *either* abandon Union (for 7.1) and throw your support behind Nullable *or* disown Nullable, let Dmitry champion it, and the two RFCs to vote as alternatives. I understand that you see Union as a kind of superset of Nullable (correct me if I'm wrong) but when it comes to the voting, there's no fair way to organize that. Someone's going to be unhappy. Tom On 4/28/16, 3:16 PM, "Dmitry Stogov" wrote: >Levi, I provided an implementation for your RFC on February 2015, and I >would be glad if your RFC was accepted that time. >Bit since that time you block it in respect to "Union Types" > >See conversation at PR https://github.com/php/php-src/pull/1045 > >I would be also glad if your "Nullable Types" RFC was accepted now, but I >don't trust in your intention to support it. > >________________________________________ >From: morrison.levi@gmail.com on behalf of Levi >Morrison >Sent: Thursday, April 28, 2016 10:02:20 PM >To: Dmitry Stogov >Cc: Joe Watkins; internals; Tom Worster >Subject: Re: [PHP-DEV] Re: Request to withdraw RFC's for nullable types >for only return values > >On Thu, Apr 28, 2016 at 12:54 PM, Dmitry Stogov wrote: >> Levi, I don't understand, why do you keep trying to own "Nullable >>Types" RFC, if you like completely different "Union Types". > >I don't understand; I wrote the RFC. What do you mean, "keep trying to >own" it? I wrote both Nullable Types and Union Types. Some view those >RFC's as competing, but they can also be orthogonal. I see the value >in having both.