Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92893 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79064 invoked from network); 28 Apr 2016 18:54:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2016 18:54:24 -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.112 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 207.46.100.112 mail-by2on0112.outbound.protection.outlook.com Received: from [207.46.100.112] ([207.46.100.112:18240] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/BA-28296-C5C52275 for ; Thu, 28 Apr 2016 14:54:23 -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=tHurAcFEVkhRrtJlIXPfM3s/txVj3OcDUebRCXpmA3M=; b=w1E2vyUug4Yi70SEHGsAUUwusnhStUganvExHC1WdOHUMQmGYQm+4Vezx6Fm8DaFGa+zhjRBseq/9dguLgeGZKKeXXS8NZyMScn0t6CmlEn4O/+1ZoR9wrAZWLDm2do3SSvRo659VzRR/2kjc8sTwFLCqHyMOdOrm5kVp70hH3k= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by BY2PR0201MB1781.namprd02.prod.outlook.com (10.163.72.23) with Microsoft SMTP Server (TLS) id 15.1.477.8; Thu, 28 Apr 2016 18:54:16 +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 18:54:16 +0000 To: Levi Morrison , Joe Watkins CC: internals , Tom Worster Thread-Topic: [PHP-DEV] Re: Request to withdraw RFC's for nullable types for only return values Thread-Index: AQHRoWRe782dRDYm1kuNWD0UZVTnlZ+fm7+pgAALLYCAAAAymoAAAjiAgAACLoCAAA56AIAAAHIi Date: Thu, 28 Apr 2016 18:54:16 +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: php.net; dkim=none (message not signed) header.d=none;php.net; dmarc=none action=none header.from=zend.com; x-originating-ip: [92.62.57.172] x-ms-office365-filtering-correlation-id: f17656bd-8d8a-42ca-da65-08d36f967fc5 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1781;5:NaJiuFrjJbBF7t+WOBRaawbYqfPryxsH8A7p6Mw+7aherjPT71tgAkUKQ0tbqgI10iYrjNZCa40V9t34at7Ip8qSwfU0t8yc8BnHWlw5FUx7MpKCd0/brwVj9tlXxfBkZ3/h5iZ0aHMlneHoUsAyDA==;24:vTrevi6qSwdekWJD79P3nqpVc4Zpp3VMGbquo1LbOAsJu+nbr/n2spX/bgnABEmPtVtHh74KzB43uxpaTJ9pRk3TUKZIKj+plmLX/MZlyVg=;7:VHcGf34rt4xg9X/+brlTQtARAbd5JqPn/lqyokWHHbUnVDtzWR8TzXYe9datpgHLEJWdQfxr5fd7W+weBWdBbeenZcc4VDdrsYXzQbVa1il+zWZLyz9xi7j9mSf6lKaBETh45CzTZkyqEHnnvZ/m5ZU/k9de96xqa2E59XpCFZINSTdEIgH61kpfdLWgPbiO x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; 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)(10201501046)(3002001);SRVR:BY2PR0201MB1781;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; x-forefront-prvs: 0926B0E013 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(24454002)(377454003)(189998001)(5001770100001)(15975445007)(2900100001)(77096005)(2950100001)(81166005)(76176999)(2906002)(33656002)(66066001)(3280700002)(5008740100001)(76576001)(122556002)(86362001)(93886004)(92566002)(5004730100002)(16799955002)(19580395003)(19580405001)(87936001)(11100500001)(1096002)(102836003)(15188155005)(1220700001)(3660700001)(586003)(6116002)(106116001)(3846002)(5003600100002)(4326007)(50986999)(74316001)(99286002)(5002640100001)(54356999)(10400500002)(9686002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0201MB1781;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 18:54:16.7416 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1781 Subject: Re: [PHP-DEV] Re: Request to withdraw RFC's for nullable types for only return values From: dmitry@zend.com (Dmitry Stogov) Levi, I don't understand, why do you keep trying to own "Nullable Types" RF= C, if you like completely different "Union Types". ________________________________________ From: morrison.levi@gmail.com on behalf of Levi M= orrison Sent: Thursday, April 28, 2016 9:47:18 PM To: Joe Watkins Cc: Dmitry Stogov; 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 11:55 AM, Joe Watkins wrote= : > Levi, > > Why do you need to block Dmitry's return type nullable RFC ? > > We need to move forward, that has an implementation, ready for a long > time, doesn't seem to block nullable parameter types rfc, either separate= ly > or as part of unions. > > So, I'm not understanding why you need to hold up Dmitry any more. > > Please, explain. > > Cheers > Joe > > On Thu, Apr 28, 2016 at 6:47 PM, Levi Morrison wrote: >> >> On Thu, Apr 28, 2016 at 11:43 AM, Dmitry Stogov wrote: >> > your Nullable RFC doesn't propose working implementation. >> > >> > ________________________________________ >> > From: morrison.levi@gmail.com on behalf of >> > Levi Morrison >> > Sent: Thursday, April 28, 2016 8:39:03 PM >> > To: Dmitry Stogov >> > Cc: internals; Tom Worster >> > Subject: Re: Request to withdraw RFC's for nullable types for only >> > return values >> > >> > On Thu, Apr 28, 2016 at 11:07 AM, Dmitry Stogov wrot= e: >> >> Thanks for catching the BC break. >> >> Fortunately, we didn't release 7.0.6 with this problem. >> >> >> >> I see some sense in introducing that check, but changing behaviour >> >> requires RFC and definitely not allowed in minor versions. >> >> >> >> I'm not going to withdraw >> >> https://wiki.php.net/rfc/nullable_return_types >> >> It doesn't prohibit usage of nullable for arguments, and even sets >> >> additional question. >> > >> > In that case: are you fine with my RFCs going to vote first (and >> > soon)? We presently have four somewhat competing RFCs and need to work >> > out voting order. >> > >> > Tom: are you willing to withdraw or wait for my RFCs to vote first? >> >> It doesn't have an implementation, sure. But you already worked out >> return types, the basics are already there in parameter types and >> there's an implementation in HHVM. Do you really think this would be a >> blocker? There is no reason to believe that a short-hand nullable >> types implementation cannot be reasonably done. >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > Let me firstly say I'm not trying to "block" Dmitry's RFC as some sort of political campaign. Let me try to straighten this: As evidenced by this bug report that needs a fix there is a need for nullable parameter types that is not tied to a default of null. Dmitry's RFC does not handle this. Nor does Tom's. There is an RFC that can solve both return types and parameter types. I'm asking them to withdraw because they don't meet those needs and there is an RFC that does. It just so happens to be mine. It also happens to be the first drafted RFC. This is not an unreasonable request. In fact, it's the much nicer option that just opening vote on mine first without talking about it on list at all. And lastly, it's just a request. They don't have to withdraw.