Re: Re: PHP Annotations RFC + Patch

From: Date: Thu, 16 Sep 2010 13:57:01 +0000
Subject: Re: Re: PHP Annotations RFC + Patch
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-49702@lists.php.net to get a copy of this message
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

« previous php.internals (#49702) next »