On Mon, Jan 7, 2013 at 4:50 PM, Lester Caine <les...@lsces.co.uk> wrote: > Pierre Joye wrote: >> >> On Mon, Jan 7, 2013 at 9:30 AM, Lester Caine <les...@lsces.co.uk> wrote: >>> >>> Mike van Riel wrote: >>>> >>>> >>>> >>>> At phpDocumentor we have been working on formalizing the PHPDoc Standard >>>> for >>>> quite some time now and I would ask you to take a look at that and use >>>> it as >>>> basis for the parsing of DocBlocks. >>> >>> >>> This also forms the basis of many of the IDE in-line help material. >>> Producing something different then requires that all the IDE's are >>> reworked >>> as well :( >> >> >> Annotations have nothing to do with user land documentation, please >> don't go down this discussion again as it will be of no help for this >> topic. > > > So scrap https://wiki.php.net/rfc/reflection_doccomment_annotations and > https://wiki.php.net/rfc/annotations-in-docblock as not being a appropriate > way of handling this then! DocBlocks have a well defined format so hijacking > them for other purposes as this thread is proposing is what is not helpful?
It is helpful because it is the only way to do it right now, within comments. And no, docblocks are not annotation either. In my humble opinion there is only one clean way to implement them, at compile time, using the parser. Using SPL (kind of "let put everything in there because the engine is too complicated (implementation or politics around it)") is not a good idea either. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php