Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93200 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83937 invoked from network); 11 May 2016 05:26:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2016 05:26:44 -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:11772] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/44-64493-092C2375 for ; Wed, 11 May 2016 01:26:42 -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=TM7oXJYm3m3ERRqQzU9tqdqPomePJEUl2pxThT6QW20=; b=EoiFGcH24T4JXk56lzPYtj4VT0l3JnQVf4YiRRVhYNOLKSwIt1j0JqReJA67Kj+3Q1nbRcEijwA3YltqIqy5On1wIkf0nFZmeZFYZXo7tEGqK32EQiGZOB+q3oKg5MmI6XEDgXfzOsMKCkst8i0usR50U+lEfD3egertbbmkNQw= 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.492.11; Wed, 11 May 2016 05:26:36 +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.0492.016; Wed, 11 May 2016 05:26:36 +0000 To: Joe Watkins , =?iso-8859-1?Q?Bj=F6rn_Larsson?= CC: PHP internals Thread-Topic: [PHP-DEV] [RFC] [VOTE] PHP Attributes Thread-Index: AQHRqujrArbaZdp9akukn5WuZj/XV5+ysEmAgAA62wD//9BHAIAAbtWAgAAJW7c= Date: Wed, 11 May 2016 05:26:35 +0000 Message-ID: References: <8d5d1c42-832d-4406-6bb5-dbf3fc02c364@telia.com>, 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: 98eeb338-8204-4649-03e6-08d3795cd240 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1782;5:j/15Gb7gsyWBChcEC6xR6Xa93riTCeV4Yjhf9IY2Qnt6zMQRNJZw54oNxpkseoscV+b8JsdhXAqXOktMVwVHckZxADRnDBnY8iKo6niLAOx61o3UV+3q5zU0MaPnFJB6MFizQ3qxMmBGqUZWDllAJQ==;24:aDrdrUQgjPXrZE5yP8rx0JxCkTtu5DDhmM8jL9dA2ZjRuleXXyqYi/aodHVjklWrSRRZCz6+Wqma7x6qomrBGCC9BuX86hbTN9MRaVP+/hA=;7:wdydM8toRJaX0j7bN8HfdwCaC4Uf3yB7vtri60Iqgdv9hF4VU8uHcmzW/m7cJ92cQlsvYFGl597pVghpQChgwbn08kdR0McFfnlM8FdarcQChFf/duIaiEmEXP58iXZqxYISD59eZjhtSXNjz12x0nXZGHUrJ8Pphx93RBRZZeYANwDyC9mjBKwOwjmPU3sV 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)(5005006)(8121501046)(10201501046)(3002001);SRVR:BY2PR0201MB1782;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1782; x-forefront-prvs: 0939529DE2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(24454002)(377424004)(377454003)(51914003)(5002640100001)(189998001)(66066001)(8936002)(15975445007)(19617315012)(2950100001)(122556002)(561944003)(76576001)(33656002)(81166006)(2906002)(16297215004)(19627405001)(87936001)(10400500002)(92566002)(106116001)(74316001)(9686002)(5008740100001)(15188155005)(16236675004)(76176999)(50986999)(6116002)(1220700001)(102836003)(11100500001)(3280700002)(3846002)(54356999)(19580405001)(5004730100002)(4326007)(19580395003)(586003)(19625215002)(5001770100001)(2900100001)(86362001)(5003600100002)(77096005)(3660700001)(99286002)(93886004)(16799955002)(556834004);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: multipart/alternative; boundary="_000_BY2PR0201MB1784E2F42D1B2A85F0134EE1BF720BY2PR0201MB1784_" MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2016 05:26:35.7922 (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] PHP Attributes From: dmitry@zend.com (Dmitry Stogov) --_000_BY2PR0201MB1784E2F42D1B2A85F0134EE1BF720BY2PR0201MB1784_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Joe, The sense in native support for AST is questionable. On one hand this allows syntax verification. On the other hand simple string may be parsed into AST with just one additi= onal call to ast\compile_string(). Thanks. Dmitry. ________________________________ From: Joe Watkins Sent: Wednesday, May 11, 2016 7:46:09 AM To: Bj=F6rn Larsson Cc: Dmitry Stogov; PHP internals Subject: Re: [PHP-DEV] [RFC] [VOTE] PHP Attributes Morning Dmitry, I'm not really happy with the voting options here. I would not vote in favour of a patch that does not include support for= AST, that's a completely different feature. As it is, I have to vote yes in favour of AST, but it may be counted as= a vote in favour of attributes without AST ... This doesn't seem right ... I don't want attributes without AST, and th= ere is no voting option to reflect that. Cheers Joe On Tue, May 10, 2016 at 11:09 PM, Bj=F6rn Larsson > wrote: Den 2016-05-11 kl. 00:00, skrev Dmitry Stogov: On 05/11/2016 12:29 AM, Bj=F6rn Larsson wrote: Den 2016-05-10 kl. 20:29, skrev Dmitry Stogov: Hi internals, I've started voting on "PHP Attributes" RFC. https://wiki.php.net/rfc/attributes In my opinion, "PHP Attributes" might be a smart tool for PHP extension, bu= t it's not going to be the end of the world, if we decided to live with doc= -comments only. Thanks. Dmitry. Thanks for the good work. Regarding naming, I googled "PHP attributes" vs "PHP annotations" and looking at the result, my view is that that Annotation is a better naming then Attributes. Any hope in changing it? The more I listen to arguments of adepts of existing PHP annotation systems= , the more I think, that "PHP attributes" is the right name for this propos= al. This feature is not just for PHP annotation systems. Thats a fair point, so Annotation it's not. Still, when I hear PHP attributes I associate it with class / function attributes. Maybe just a question getting used to the naming. Hm, wonder if PHP directives could have been an option? Regards //Bj=F6rn -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php --_000_BY2PR0201MB1784E2F42D1B2A85F0134EE1BF720BY2PR0201MB1784_--