Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92347 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81425 invoked from network); 15 Apr 2016 17:58:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2016 17:58:45 -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:6598] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/D8-29891-2DB21175 for ; Fri, 15 Apr 2016 13:58:44 -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=dpxK66BkwiBGd5pADjtCVWjaw93IKS2l8KXFBzAwlr8=; b=UbuKoO8KbbemK0p+jGVeM+SUO2DXBgg3MVyVgOH4lKLApr9duFAs5xOYRm35zAx+E+c1FO6wuxTBsbOmyLKzbvDkyozOd1HDDa0k04Cy5rI9bbkALU1mn+D4CSch4DaKqxg4w+RtQa1vnNYjOB0zkJxp49u2IZFH5o2Z+dS2JbQ= 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.453.26; Fri, 15 Apr 2016 17:58:38 +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.0453.031; Fri, 15 Apr 2016 17:58:38 +0000 To: Tom Worster , internals Thread-Topic: [PHP-DEV] [RFC] Nullable Types Thread-Index: AQHRlf/HRrhz9JlaLkGvYOd79l/iMp+JStcAgAH+hYCAAAhNmw== Date: Fri, 15 Apr 2016 17:58:38 +0000 Message-ID: References: <570F4BB4.6020709@zend.com>,<57112225.6020905@thefsb.org> In-Reply-To: <57112225.6020905@thefsb.org> 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: [132.245.81.165] x-ms-office365-filtering-correlation-id: 9c88b9ac-8f25-4766-5780-08d36557926f x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1781;5:NiH5kPRAjfPxcndmEW/ynXEAO05sqd9LlAYtbm0z7m9ukGwdRNcJQSxgRqy+1dMRh7gOfMof/xTGvyoGp971hr8MKfiBTjsNc553WgIc3IhQ2YZ0kNnlT8iSEjehf0BNEKiztalFuUTgiUXBMRC+Tw==;24:+fFo3SaChYevajsYlGsn1jIAxYmjj+lTku+w5dEt7r/XxiqO87nk2ASAB3425SYMOYR+KnYcMxdKdTlaMymIW9fBWwBD24NIxTn7pOSQKRo= 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:(9101521026)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);SRVR:BY2PR0201MB1781;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; x-forefront-prvs: 0913EA1D60 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(24454002)(3660700001)(99286002)(76176999)(3900700001)(54356999)(66066001)(2950100001)(50986999)(2900100001)(3280700002)(5003600100002)(106116001)(10400500002)(189998001)(87936001)(77096005)(15975445007)(107886002)(74316001)(5001770100001)(5004730100002)(19580405001)(19580395003)(6116002)(102836003)(586003)(11100500001)(2906002)(122556002)(86362001)(9686002)(33656002)(1096002)(92566002)(5002640100001)(5008740100001)(3846002)(1220700001)(76576001)(81166005);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="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2016 17:58:38.1981 (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] [RFC] Nullable Types From: dmitry@zend.com (Dmitry Stogov) A week ago, I actually wrote my own RFC https://wiki.php.net/rfc/nullable_r= eturn_types but didn't push it for discussion in favor of Levi's nullable_type RFC (th= ey are almost the same). I'm sure, union types bring too many conceptual and implementation question= s, and I even don't speak abut intersections. Thanks. Dmitry. ________________________________________ From: Tom Worster Sent: Friday, April 15, 2016 20:17 To: Dmitry Stogov; internals Subject: Re: [PHP-DEV] [RFC] Nullable Types On 4/14/16 3:50 AM, Dmitry Stogov wrote: > The up to date implementation for return-type-hints may be found at > https://github.com/php/php-src/pull/1851/files Splendid! Thank you, Dmitry. I will refer to it in the nullable_returns RFC[1]. Tom [1] https://wiki.php.net/rfc/nullable_returns