Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93855 invoked from network); 11 May 2016 06:45:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2016 06:45:42 -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 207.46.100.128 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 207.46.100.128 mail-by2on0128.outbound.protection.outlook.com Received: from [207.46.100.128] ([207.46.100.128:48848] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/00-28272-415D2375 for ; Wed, 11 May 2016 02:45:41 -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=y5VWp1bWT+ot3YdMW914Qd7WDSiVYE0qYIBB81Ngcno=; b=JWqYE1u7IcsGcaCDDmEIcy/Cl92m7zwgdk0OvXrQ5gbTZ6UQ3x+6sZffIpdlS/vYs0D3gxCaKTlna6jCWuqNv/3jeZumATeW68fLbC3QqljUXmKoVS9jlRLadzgrsIWDnYA70bT1Nn3dg+ZCcoINlzODx8uYKqGpsB/6ufjHYNU= Authentication-Results: lists.php.net; dkim=none (message not signed) header.d=none;lists.php.net; dmarc=none action=none header.from=zend.com; Received: from tpl2.home (92.62.57.172) by SN1PR0201MB1792.namprd02.prod.outlook.com (10.162.228.24) with Microsoft SMTP Server (TLS) id 15.1.492.11; Wed, 11 May 2016 06:45:35 +0000 To: Joe Watkins References: <8d5d1c42-832d-4406-6bb5-dbf3fc02c364@telia.com> CC: =?UTF-8?Q?Bj=c3=b6rn_Larsson?= , PHP internals Message-ID: <95ccaf31-11de-8efb-13ba-038d36a6c466@zend.com> Date: Wed, 11 May 2016 09:45:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------B267C5AEAD5ABBEEAE8668DC" X-Originating-IP: [92.62.57.172] X-ClientProxiedBy: AM3PR04CA0049.eurprd04.prod.outlook.com (10.242.16.49) To SN1PR0201MB1792.namprd02.prod.outlook.com (10.162.228.24) X-MS-Office365-Filtering-Correlation-Id: 03638b74-f978-40ba-a984-08d37967dbe1 X-Microsoft-Exchange-Diagnostics: 1;SN1PR0201MB1792;2:gDVcCbfv7e/YJ9PjktCGbrylM24YYn2cM0spwC6Imu3ejZ7Qw0cLX2fQBMFI++jQaBf4HbV2nxxG6qeUYmNXZ6Fc5Nk52OazOkOsZHY9X6INnWKoa7gX+uGKPLpzB2jHQYFn6WPsqqqcUy3qkNh4Bv8PzvTPTveWdwK+WZ3Xnlilnif8VrbArjewXkscRpsD;3:qkZFPcmFlWK+kCk0EwrFiBw5/6ba6AUgdF4Gz99KfQRWZRDQEAVmScGwWrpNNJYLMq+gPYwLWnvaxhpotYxV+GB5rdcJXr2RVcaJwdhwDjP8qzm4eRkhxuR++ErsVOR5;25:9dl5KFF6Dje076k6OMI6TzcRtDe3qfoMX9l24UofSTuvm4yfexws4XdCoIXHTjuBBpkIDn5iXs3f2SMeMorbGachKR6FnPVLxzan/rpTLb76fqildkL3X98k6/BgAUs9rYC5u2IQVUSX2e1eB8bBJzOkj5l/CX9prI6L152ReSB1Cu8Au0QQmR/EQ3nmxu4lYsdl6GDf6aXzWCBfIV1HYclWGw7mvm2Tptz7tEwB16Hbua1DX3ytkbCXKWejG3J4A3bPkFkq296OuP4lecRVV3B7WPXX/cOxmjKVWnGSV4hOWxB3365DsuLMrpLjw7x3Q2olQG2L9JuK2U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SEsarKdwuNq0xYbBIXehqBCKX09YsC4qneao7BiBE9 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:SN1PR0201MB1792;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0201MB1792; X-Forefront-PRVS: 0939529DE2 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(24454002)(51914003)(377424004)(377454003)(561944003)(512874002)(6116002)(3846002)(586003)(2906002)(4326007)(86362001)(19580395003)(19580405001)(81166006)(92566002)(65956001)(65806001)(66066001)(36756003)(4001350100001)(110136002)(15188155005)(31696002)(31686004)(42186005)(2950100001)(84326002)(5004730100002)(5008740100001)(50986999)(16799955002)(83506001)(16236675004)(77096005)(93886004)(33646002)(15975445007)(189998001)(76176999)(54356999)(19617315012)(65826006);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR0201MB1792;H:tpl2.home;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR0201MB1792;23:55fBEXoWqCkSklzoEBvUT+XkAwBX8xwUlebKoiN?= =?us-ascii?Q?NMe4uzmOmeh1wtUOn6jNP5ij7d9e/zv4CpbJOos/0Miy03oQi/Lus2weCX5X?= =?us-ascii?Q?8N43Ue8NkV/LB2rN9fOUCHCb8j/n8PGeY9qq5mTB6ZNHPF4N0RWoSYIRTNFa?= =?us-ascii?Q?2wEpQh9n7kxt8kHn5CmV6D/TJ064ogoC4OmJ8xy3JB5LgAzLmmOH4elrsEbA?= =?us-ascii?Q?3KO0Nxyqn+xjC0ILHavQcoBVyy8IPJ7ol8qYACoXMSelI/NENHWxdWwdIj6p?= =?us-ascii?Q?zFfaU5MB3tC33FUZPoQAYdqrgoF4jZHsvnQvIbDqg7ocMwPr1nYAOwBMNPxz?= =?us-ascii?Q?GpROZpO7WrbaH2iQOB5QkyZjOzn7jgMt8R62MUaFW8RvD2QFbfZUal/WLNeX?= =?us-ascii?Q?fOCG61aejmZH64IHGK1f6vdrVSCei5C/fJ28Fqvt02VYoMdjc5tEcIP0UbIo?= =?us-ascii?Q?WHsknuulAr7fu4yA3BAiSM09V4aqFBXEw790Dv28IRh0uWfnlaeJp2M34/WX?= =?us-ascii?Q?dIbpbx6vxb87i6RqN+rn2P/I6djGVa3asBOSrQDzlaqkp3V6/oCmxPwacX8d?= =?us-ascii?Q?qhbXJQVEIq0M8XaZYFHcPqKIi0nC+aw3ss65MljUNmyEFB+ccKX23u9lyt+G?= =?us-ascii?Q?qY/BTSy/Iu3wZAcDjMfmDYoTbKgXWhgq05ZDb3+zH7UhZpCGCLu0M5bovCcS?= =?us-ascii?Q?11l2gHRKfHnZWySJPvmNA7psHOKMl8a4oIzlHFA7120qDBN9cp6Eg9jSgSLI?= =?us-ascii?Q?Tu13eXX0W7O1FdYwtOJKROcRoBbTUUPPmEQwDcXsWH2yjgAfgroCVf/i785W?= =?us-ascii?Q?k/fIIytmyUilGnss52iMbmlH/Wn3gtpp6B7cteYAeDmKb60vmWDm0brTquDq?= =?us-ascii?Q?2fQHxXjsN0wwZuJLgg4WGMCOVRigc4lyMFsA1V0goZzNYsU15SM+ccOwNQKP?= =?us-ascii?Q?R24DYizf6ygTDQ47sLuNjJzJ3MFKjD2aflnJ7mX6vsQzFxuRxT5yeZBYiNQx?= =?us-ascii?Q?f2BBd9haPyXS6Szs6WWUt2RWz7MIp8ZS5gCG3aPT5xyk9pA5Y8Zp4m/sI00F?= =?us-ascii?Q?YpIDjy2euo1iB1kF4hRfw0fCYWqd1dlI3SZxpykrbyoLJkE1fVTEKX8uRKzD?= =?us-ascii?Q?TfiTRqK27a1D4dwPO/rlUX067ssAzNrFDFVl7dM9YIZX8K6wehElCGzGfH4o?= =?us-ascii?Q?ciJ6g0AqIptgR6jM=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0201MB1792;5:of5lyE1WdFbymnkdViT+6HFcd0ZPP5mpEYdbREP7jVDcsT13bJvwU4rPq0wl6ch4kd3OCLqsuz1PRkYPqhtSstLPt/U11owezPSR/fZOxN0m3OhL+/5myxEx5BUqxXbjvTiOnbDzn2kXHVLTgQfe3g==;24:60518vvSjbGMBWnkiCJbRXkWMuzMgXjBdAasmjpBL+67NjiQZKnnRoQEILnXNmFgh6bzlv7fYK3+gts4SjWpUyuu6XEwpS8vv5DajwOBnS8=;7:/3HpcUUrhYKRxUxKjrZ+J4jg2/j5RbQ8wNjnR6c96qzFlPely1nk1kyyCEIXjYXBefaLwrL1bc6B7im2dx+XmN47Uug+E5gXmbqUCVQ4x6Yk+CWdHMLBQRzy/vDwo3ov+7F38Yfb5Cc8q8clHkKjjxnppP+6eYwzEZFX+H9+u7174Gjs0HVt99B1moNq+Uzu SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2016 06:45:35.0400 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0201MB1792 Subject: Re: [PHP-DEV] [RFC] [VOTE] PHP Attributes From: dmitry@zend.com (Dmitry Stogov) --------------B267C5AEAD5ABBEEAE8668DC Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit On 05/11/2016 09:02 AM, Joe Watkins wrote: > Morning Dmitry, > > > On the other hand simple string may be parsed into AST with just one > additional call to ast\compile_string(). > > You're not really suggesting that I write my tools in user land, are > you ? It's me, Joe :)ce At first days of RFC discussion Sara pointed on over-design regarding AST. I saw sense in here comments and updated RFC. > > I *only* want attributes as they were originally proposed, and I can't > vote to reflect that. > > As discussed in private, what I want is attributes, as originally > proposed, and a hookable compiler; Anything else is not good enough. Personally, I'm for AST as well, but it's possible to get the same power translating string values of attributes into AST in the hooks. Thanks. Dmitry. > > Cheers > Joe > > > > On Wed, May 11, 2016 at 6:26 AM, Dmitry Stogov > wrote: > > 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 additional call to ast\compile_string(). > > > Thanks. Dmitry. > > > ------------------------------------------------------------------------ > *From:* Joe Watkins > > *Sent:* Wednesday, May 11, 2016 7:46:09 AM > *To:* Björn 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 there is no voting option to reflect that. > > Cheers > Joe > > On Tue, May 10, 2016 at 11:09 PM, Björn Larsson > > wrote: > > Den 2016-05-11 kl. 00:00, skrev Dmitry Stogov: > > > > On 05/11/2016 12:29 AM, Björn 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, but 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 proposal. > 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örn > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > > > --------------B267C5AEAD5ABBEEAE8668DC--