Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49702 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44821 invoked from network); 16 Sep 2010 13:57:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2010 13:57:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:53232] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/23-29241-032229C4 for ; Thu, 16 Sep 2010 09:57:09 -0400 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 9B9BEDE13D; Thu, 16 Sep 2010 14:57:01 +0100 (BST) Date: Thu, 16 Sep 2010 14:57:01 +0100 (BST) X-X-Sender: derick@kossu.derickrethans.nl To: Zeev Suraski cc: Guilherme Blanco , Pierrick Charron , "internals@lists.php.net" In-Reply-To: <7.0.1.0.2.20100913145703.0d226d90@zend.com> Message-ID: References: <4C873C0F.1010200@zend.com> <4C879613.7090709@zend.com> <4C887D2B.2000605@zend.com> <4C8AC526.7000505@sugarcrm.com> <4C8B6168.30504@mohiva.com> <4C8BC81E.8000605@sugarcrm.com> <7.0.1.0.2.20100913145703.0d226d90@zend.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: PHP Annotations RFC + Patch From: derick@php.net (Derick Rethans) On Mon, 13 Sep 2010, Zeev Suraski wrote: > I'm not sure we've seen a good reason to add annotations instead of using > PHPDoc. Sure, PHPDoc isn't a perfect fit for certain purposes, but I think it > certainly falls in the good-enough fit for most purposes. It's also both > machine and human readable, and best of all - it's already there. There is even a tokenizing extension for it in PECL: http://pecl.php.net/docblock > There should be overwhelmingly strong reasons to add a whole new branch of > syntax to PHP, I for one don't see the huge gain annotations bring on top of > PHPDoc. The only thing I can think of is added the storing of docblock data for class methods and class properties. Right now I think they're not being stored in the oparrays? In any case, I am also not for adding more syntax just to do annotations. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug