Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50273 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90600 invoked from network); 17 Nov 2010 02:09:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Nov 2010 02:09:21 -0000 X-Host-Fingerprint: 99.38.57.86 adsl-99-38-57-86.dsl.ipltin.sbcglobal.net Received: from [99.38.57.86] ([99.38.57.86:23436] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/0F-25421-F4933EC4 for ; Tue, 16 Nov 2010 21:09:19 -0500 Message-ID: <87.0F.25421.F4933EC4@pb1.pair.com> To: internals@lists.php.net Date: Tue, 16 Nov 2010 21:09:17 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 References: <4CE3340F.6090304@sugarcrm.com> In-Reply-To: <4CE3340F.6090304@sugarcrm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 99.38.57.86 Subject: Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion From: alecgorge@gmail.com (Alec) I think my reply ( http://article.gmane.org/gmane.comp.php.devel/63203 ) addresses this. It doesn't introduce any new language constructs per se. You could make it even more standard and clear by adding "new" after "annotation". Just as a thought: instead of annotation, metadata could also be used as the keyword. I am interested to see what you, Zeev and the others say about this syntax because I believe it strikes a balance that allows for metadata usage without messing with the syntax. I am all for annotations/metadata, but I can certainly see the argument about syntax: we want to strive for consistency in syntax looking forward, particularly since PHP isn't well known for consistency (look at the string and array standard function names :D ). -Alec On 11/16/2010 8:46 PM, Stas Malyshev wrote: > Hi! > >> Poll will be opened for voting for 7 days (1 week) starting from now. >> Poll will be closed next Monday at 5pm GMT. >> Question: Does PHP need meta attribute support? > > Unless there's a simple way of describing it - without adding a lot of > complexity and introducing multiple new syntax constructs - no. Do it in > userspace.