Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92885 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64060 invoked from network); 28 Apr 2016 17:55:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2016 17:55:11 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 157.56.110.105 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 157.56.110.105 mail-bn1bn0105.outbound.protection.outlook.com Received: from [157.56.110.105] ([157.56.110.105:57235] helo=na01-bn1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/97-28296-C7E42275 for ; Thu, 28 Apr 2016 13:55:09 -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=dwaYuC1h6YHa0QIL/0JcwbgV5q6hyeA1H7gt3VC/5oI=; b=UqJEIt0fEEWlmK6KpNcPBPG0vGC6ehOcNWrI08jsh56e5+9UmMgrBJS0R5b2kPBLLpk5FbnZMdd7TsgdcPsaNXW0ptuxjAD4X2PVq8qmhPI4fVFfti9BfIzbCG6ppSOjne5J74YoLbritJcu7qhXxCQQSV5ehC7nfTF79XIvoVQ= 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 17:55:05 +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 17:55:05 +0000 To: Levi Morrison CC: internals , Tom Worster Thread-Topic: Request to withdraw RFC's for nullable types for only return values Thread-Index: AQHRoWRe782dRDYm1kuNWD0UZVTnlZ+fm7+pgAALLYCAAAAymoAAAjiAgAAAruM= Date: Thu, 28 Apr 2016 17:55:05 +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: 09363cc2-7d7f-4081-85f2-08d36f8e3ac7 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1781;5:SuUv3+IWsfvBGUjKKjstb4xn0c6xCsuuHqbhH4HzUlr/TGysgedGzgzrqVbMTFwtK/ekS868og73ojBkZYJyUZX0A9eJL9Moj79Gh7w+YNhrxYvRNYF6czdv0Kns1dzaYafuEAC33j6xRJJR3XSl7Q==;24:DhTCsoMJqxJ9R/v0I+Q/Le1SwsszKHNvCehGVqdhUKocMXKj8GMDjR18kXZM86EchBAPC+cWAtOx0pj0HQsv1Bmab2gCJRs/s367+KIYiLU=;7:o4zBWEllKFv6+p3Zp8TmnGtexkzZUNBNMeLF0YyDT0796Mnn0tQWO0Hjas8cbcBtORUU72tsTtuLSJ5GEiutPZltZaxDpbFz1PRiQgIIiuou4yrEn5lbpAD4a0/usMVWJNU/Cq+dt6j9QXYNZRA0N0ZYKpODiw/x0MvPQbG87nRoAr/XSePcpspOE9hxdaWe 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)(110136002)(15975445007)(2900100001)(77096005)(2950100001)(81166005)(76176999)(2906002)(33656002)(66066001)(3280700002)(5008740100001)(76576001)(122556002)(86362001)(93886004)(92566002)(5004730100002)(19580395003)(19580405001)(87936001)(11100500001)(102836003)(1096002)(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 17:55:05.0628 (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: Request to withdraw RFC's for nullable types for only return values From: dmitry@zend.com (Dmitry Stogov) I'm not happy with the fact, that you propose two competing RFCs, support o= nly one and trying to withdraw other competitors. ________________________________________ From: morrison.levi@gmail.com on behalf of Levi M= orrison Sent: Thursday, April 28, 2016 8:47:41 PM To: Dmitry Stogov Cc: internals; Tom Worster Subject: Re: Request to withdraw RFC's for nullable types for only return v= alues 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 wrote: >> 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 requi= res 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 addit= ional 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.