Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93433 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45558 invoked from network); 23 May 2016 08:04:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 08:04:12 -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 65.55.169.104 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 65.55.169.104 mail-bl2on0104.outbound.protection.outlook.com Received: from [65.55.169.104] ([65.55.169.104:43683] helo=na01-bl2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/13-14293-A79B2475 for ; Mon, 23 May 2016 04:04:12 -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=b+gG317NDf6J13g2R/i6aylQNiSBrPLJS5Sul/irfvo=; b=NDa1temGUTCMa9BD9QkddpuUh5SgpXdZaYxjSmU54McfZ892p1r/9Ib2wJbDWDTKHBHSzjl8h/lXqojHFqmp5UuiKcXVPHroc7Me5Yqv5Mjn9D/sZwLgWlqG6l/gHzpmw8kQbgMoVacx09NcfHH2iirdG1C/F48wxtYjg3nZgCE= 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:04: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.0501.012; Mon, 23 May 2016 08:04:05 +0000 To: Joe Watkins , PHP internals , Phil Sturgeon Thread-Topic: [PHP-DEV] [RFC][Vote] Typed Properties Thread-Index: AQHRsl29xlQFrvOFJkSnB4pG0wOhsp/GLdHT Date: Mon, 23 May 2016 08:04:03 +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: 696a0a41-711b-4ead-6abd-08d382e0cf9e x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1784;5:fzjcPpkbYyEKmE+iCzjAZLRuBOW+E7NUPuC2xNx7DME2DX27FJ2udvMh3Mgo4OaOF/CgkZ8ImQ8sI6XEMy21HQnfWSAmVI7aDv2pajFC73z+YCvuoSSUgQrMjc/5LX+a7A0kSrt/5/zhkpLXWDT+cg==;24:DcVSTIpn9XQZv+ilXKlk+zsyF0O0U2Gy3U40PT+lW56wtVdIYQOEF5K861ruWNd5BkWAZGGhzYuL5La1KQ4fTHcLEMhu0jnw1uVQKOFq0y8=;7:44gZyzcygdaM5RJpgcKTqv9eSsDA/nUGP6MKN8AtUBhFqyGdhKP/az6BX8D1Wsy+3todISkSOeDjLXMYCSsu6E5nPbeXwY7+m5QdQre/4ekGYPVj4h2Kp/caJFZGzLELi+m7s0ZkQqEIlaAKEDD1fCF5Ls4WbYvMdANwBqUvrC5A/XsOaXp35ObA5JpcLONX 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)(107886002)(106116001)(92566002)(15975445007)(6116002)(3846002)(102836003)(122556002)(76176999)(54356999)(50986999)(2950100001)(2900100001)(66066001)(3660700001)(2906002)(81166006)(8676002)(8936002)(5003600100002)(9686002)(99286002)(586003)(5002640100001)(189998001)(77096005)(76576001)(10400500002)(5001770100001)(74316001)(16799955002)(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:04:03.6964 (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) The patch "corrupts" opcache shared memory. PHP crashes with opcache.protect_memory=3D1. $ USE_ZEND_ALLOC=3D0 valgrind sapi/cli/php -d opcache.protect_memory=3D1 ..= /Zend/tests/type_declarations/typed_properties_027.php =3D=3D900=3D=3D Memcheck, a memory error detector =3D=3D900=3D=3D Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et= al. =3D=3D900=3D=3D Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyrig= ht info =3D=3D900=3D=3D Command: sapi/cli/php ../Zend/tests/type_declarations/typed= _properties_027.php =3D=3D900=3D=3D =3D=3D900=3D=3D =3D=3D900=3D=3D Process terminating with default action of signal 11 (SIGSE= GV) =3D=3D900=3D=3D Bad permissions for mapped region at address 0xF00FFBC8 =3D=3D900=3D=3D at 0x86391FE: zend_verify_weak_scalar_type_hint (zend_ex= ecute.c:725) =3D=3D900=3D=3D by 0x8639833: zend_verify_scalar_property_type (zend_exe= cute.c:869) =3D=3D900=3D=3D by 0x8639C2B: zend_verify_property_type (zend_execute.c:= 938) =3D=3D900=3D=3D by 0x862E46D: zend_std_write_property (zend_object_handl= ers.c:753) =3D=3D900=3D=3D by 0x8685102: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_OP_DATA_CONS= T_HANDLER (zend_vm_execute.h:42160) =3D=3D900=3D=3D by 0x863F91D: execute_ex (zend_vm_execute.h:426) =3D=3D900=3D=3D by 0x863F9D2: zend_execute (zend_vm_execute.h:471) =3D=3D900=3D=3D by 0x85F38B4: zend_execute_scripts (zend.c:1427) =3D=3D900=3D=3D by 0x85832B7: php_execute_script (main.c:2492) =3D=3D900=3D=3D by 0x86AE2D8: do_cli (php_cli.c:982) =3D=3D900=3D=3D by 0x86AEF42: main (php_cli.c:1352) =3D=3D900=3D=3D ________________________________________ 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