Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52336 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61074 invoked from network); 12 May 2011 00:55:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2011 00:55:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:52359] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/AC-25254-A103BCD4 for ; Wed, 11 May 2011 20:55:55 -0400 Received: by wwd20 with SMTP id 20so1127449wwd.11 for ; Wed, 11 May 2011 17:55:51 -0700 (PDT) Received: by 10.216.14.212 with SMTP id d62mr1094722wed.91.1305161751362; Wed, 11 May 2011 17:55:51 -0700 (PDT) Received: from [192.168.8.10] (host50-74-static.51-88-b.business.telecomitalia.it [88.51.74.50]) by mx.google.com with ESMTPS id h39sm358240wes.5.2011.05.11.17.55.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2011 17:55:49 -0700 (PDT) Message-ID: <4DCB3016.7020004@seld.be> Date: Thu, 12 May 2011 02:55:50 +0200 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 To: internals@lists.php.net References: <4DC82A36.8090604@lerdorf.com> <4DC83401.2090202@sugarcrm.com> <4DC8D122.3050507@lsces.co.uk> <4DC8F125.2010503@toolpark.com> <4DC947E3.8070606@toolpark.com> <4DC9B62C.2040009@toolpark.com> <4DCA2E26.5010202@toolpark.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] annotations again From: j.boggiano@seld.be (Jordi Boggiano) On 11.05.2011 23:57, guilhermeblanco@gmail.com wrote: > Hi duke, > > I moved it to rejected in pro of a new proposal. > I briefly drafted it here: https://wiki.php.net/rfc/annotations-in-docblock > > There's a lot of things to be officially defined, but basic idea is there. > I expect to have a chat with interested core devs to see what can be > done in this subject and find some common sense. =) A few questions & remarks, mostly to trigger discussion: - What about nested annotations? @Foo [@Bar, @Baz]? - Your JSON is invalid, it should be {"repositoryClass":"val"} with quotes. [1] - simple strings should be handled without quotes if we want to support current docblocks, like @author Guilherme Blanco should be enough. Cheers [1] And in this case single quotes are even invalid in json and I'm not gonna complain ;) -- Jordi Boggiano @seldaek :: http://seld.be/