Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93436 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50681 invoked from network); 23 May 2016 08:30:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 08:30:16 -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.137 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 157.56.110.137 mail-bn1on0137.outbound.protection.outlook.com Received: from [157.56.110.137] ([157.56.110.137:34560] helo=na01-bn1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/24-14293-59FB2475 for ; Mon, 23 May 2016 04:30:15 -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=9PZ+zN3V09qqF4oraYij0xgyyRLBa9kzbdUrLgmCLL4=; b=L5Jv+N8Gp50ORJEUrkcjO1fhABXXJiOXstERGqh//o5UCMeMgQIIJdw2tK/CfNuO91W58AlPzoKKTUY4Dq/GEvot8aonUF/yI076qi7xWX6WcHFdjE23OYBOjiNZFrVB4SiL7z2ext6PNSAlnqYXq8TPClObJ/RaqFezvd8+Cog= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) with Microsoft SMTP Server (TLS) id 15.1.501.7; Mon, 23 May 2016 08:30:09 +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 08:30:09 +0000 To: Joe Watkins , PHP internals , Phil Sturgeon Thread-Topic: [PHP-DEV] [RFC][Vote] Typed Properties Thread-Index: AQHRsl29xlQFrvOFJkSnB4pG0wOhsp/GNLQW Date: Mon, 23 May 2016 08:30:09 +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: b8da0d5a-8610-4a2d-a8e4-08d382e47395 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1784;5:SiAAtQE0TaNythWB20wTFDZsww0FL4fyB+bX1EkCXBruiK2rS+KUNghxOgSzzD8N3gpvk9OEwLtP7dgyiNv2XBR2IizsjnVZmg5bm/MWam9a8WK4h3/tCtO3dAOdfUmOAQrClE1rZlcy3B31IKLCIQ==;24:sWKVfsaBZr3/pJHT2gj+KecQNJa0ZXvlczn0Qt1972rCQVnQbaDzOeQZaxZI8dqrMZYglffN5nvc0al4ZDCcK7P5DqG/rK9kSmzKBpCWVP0=;7:TQPk9pSpr+58LB8s6vLoq+RvtaU/h5fY5OOGXTr0JL6DUtI/e9FLnQtdLnFAQLjHInG6YKcvGh8K8cVYakoRsGajFkranj2pmKu52X3pxcIlRmxgi6gkEFjNIhrLFoprMmjLaqBx1Xs55yaxp1EcrP745YqFVPDhwAkkvz1Ug6wfLSOiBD48rn0NDha29ze/ x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1784; 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)(10201501046)(3002001);SRVR:BY2PR0201MB1784;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1784; x-forefront-prvs: 0951AB0A30 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(33656002)(1220700001)(5008740100001)(3846002)(107886002)(106116001)(92566002)(15975445007)(102836003)(6116002)(122556002)(76176999)(54356999)(50986999)(2950100001)(2900100001)(66066001)(3660700001)(2906002)(81166006)(8676002)(8936002)(5003600100002)(99286002)(9686002)(586003)(5002640100001)(189998001)(76576001)(10400500002)(77096005)(5001770100001)(74316001)(5004730100002)(87936001)(19580395003)(11100500001)(19580405001)(3280700002)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0201MB1784;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 08:30:09.0370 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1784 Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: dmitry@zend.com (Dmitry Stogov) Hi Joe, The performance effect of this implementation is terrible. Assignment to typed property is 2.3 times slower. Assignment to untyped property in a class with typed properties is 1.8 time= s slower. See the benchmark https://gist.github.com/dstogov/1b678712adeee51665cdd829195bb800 Thanks. Dmitry. ________________________________________ 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