Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93445 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73325 invoked from network); 23 May 2016 12:48:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 12:48:18 -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.101 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 207.46.100.101 mail-by2on0101.outbound.protection.outlook.com Received: from [207.46.100.101] ([207.46.100.101:60049] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/A7-14293-01CF2475 for ; Mon, 23 May 2016 08:48:17 -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=I6CyW4faPKRSUiZsxKBbuIbQnRey3YRZA32Snqe9OKo=; b=5Ny5JoOE4ERWkAPxkOoRy5y3gvNmtx2oG1VlxjKh18kDDAMguTrLLdS4UFi8JyJn+v0YZuMufpD2iaEfBSKfjOPKyXGMWzMSTpzs+X4bN6kLySItY20qJvrZjDjfIto9j4NI5r2YZ7CEQ+qeRrYAmGtbtqTaxhBGEfCz4MOIZ1I= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by BY2PR0201MB1782.namprd02.prod.outlook.com (10.163.72.24) with Microsoft SMTP Server (TLS) id 15.1.501.7; Mon, 23 May 2016 12:48:12 +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.0501.012; Mon, 23 May 2016 12:48:12 +0000 To: Joe Watkins , PHP internals , Phil Sturgeon Thread-Topic: [PHP-DEV] [RFC][Vote] Typed Properties Thread-Index: AQHRsl29xlQFrvOFJkSnB4pG0wOhsp/GfaFJ Date: Mon, 23 May 2016 12:48:12 +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: pthreads.org; dkim=none (message not signed) header.d=none;pthreads.org; dmarc=none action=none header.from=zend.com; x-originating-ip: [132.245.81.165] x-ms-office365-filtering-correlation-id: cf0446bb-adcb-43e1-144e-08d383088096 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1782;5:uZSwHMPFI6PYyKgAKDYEmdK+AepobUmotGVc1jv9ied/s1zy4USewS6xVYUWEkcdG24Kg5FIGdUeS1ZQH058PXUopFbWYPmMC2q2rWGXMJWpMhBDis85XyNjC6bstfuaSOHGRJd1rFKIy69X0ogNNA==;24:a1By8Znzieis+2trUXNNF1PBgtP25rizFsqZXcrz0sMXtMwYTVL1TTwhuJp+wA2SfoZr4EEEYEv5yqqQO+BXGI6nW5i6tweIwT3VgyZJA64=;7:W2m/9boBkyaJ/7gT/wNilGh7146pmj3BtVzxqylgpBOLbjjBzIqT0M6grUj0L3TgPv8GkWwqWCm6j4Ac2kh0V44Gms+RxJ6Xvk9A+pu4SQXT2VT8vfnTfSBXOPv3CJDgbpokE8ob5DbO5ISk5w3GtUoLZbOUjArd1DrlNwq6D25cTm0fuSxBbAGZXZ39K5A1 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1782; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:BY2PR0201MB1782;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1782; x-forefront-prvs: 0951AB0A30 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(99286002)(3660700001)(76576001)(5002640100001)(87936001)(189998001)(3280700002)(107886002)(74316001)(86362001)(9686002)(5003600100002)(5001770100001)(19580395003)(5008740100001)(8936002)(19580405001)(11100500001)(92566002)(10400500002)(106116001)(102836003)(1220700001)(5004730100002)(6116002)(3846002)(122556002)(81166006)(66066001)(586003)(76176999)(54356999)(2950100001)(2900100001)(50986999)(77096005)(33656002)(8676002)(15975445007)(2906002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0201MB1782;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: 23 May 2016 12:48:12.6585 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1782 Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: dmitry@zend.com (Dmitry Stogov) Should this work? x =3D 5; ?> Currently this leads to PHP Fatal error: Uncaught TypeError: Typed propert= y C::$x must be an instance of double, integer used in /home/dmitry/php/php= -master/CGI-DEBUG/prop.php:6 ________________________________________ From: Joe Watkins Sent: Friday, May 20, 2016 9:05:34 AM To: PHP internals; Phil Sturgeon Subject: [PHP-DEV] [RFC][Vote] Typed Properties Morning internals, Since we have our answer on nullable types, typed properties can now go to vote. https://wiki.php.net/rfc/typed-properties#vote Note that, support for nullability as RFC'd will be merged when the implementation for nullable_types is merged into master. Please participate. Cheers Joe