On 06/02/15 05:00, Pierre Joye wrote:
On Thu, Feb 5, 2015 at 11:36 PM, Dmitry Stogov <dmi...@zend.com> wrote:
phpdoc is annotation as well, but to split it into specific attributes we
have to write specialized parsers.
Other languages support annotation or attributes that may be used more
easily.

http://docs.hhvm.com/manual/en/hack.attributes.php
Exactly, phpdoc is used as annotation (or comments with some similar
syntax) but is definitively not aimed to be annotations.
Exact. Annotations !== comments. Because PHP has no annotation system, we used to use comments for this purpose, but it's a workaround.


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to