On Tue, 8 Jan 2013, Mike van Riel wrote: > As far as I am concerned I'd separate this topic into a DocBlock > parser (that might take into account the current state of affairs with > DocBlock Annotations) and actual Annotation support.
Yup - two different things. Something akin an extension that does your docblock parsing makes sense to me (perhaps tied up into reflection), but adding all sorts of weird extra syntax for "pure" annotations... meh. > Which ever way the annotation discussion goes; fact is that a lot of > libraries already use a form of annotations and I believe a DocBlock > parser should at least take this into account to facilitate existing > projects. There is a tokenizer for this already that Greg wrote ages ago in pecl: http://pecl.php.net/package/docblock - why can't that be extended to parse your style of annotations in docblocks? cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php