Hi! > All projects mentioned in this thread use: > http://doctrine-common.readthedocs.org/en/latest/reference/annotations.html > That makes a pretty good base spec. Reading it, it looks pretty big - strictly typed values, named parameters, default constructors linked to properties, support for enum types, support for typed arrays, separate constant syntax within annotations. These are all features not supported in PHP, and it seems a bit weird to me to have mini-language inside PHP that would support these. And, of course, arbitrary depth recursive annotations, and for some reason separate array syntax using {} and not []. Moreover, there's extensive checking for annotations with exceptions thrown if any of the above doesn't typecheck - I'm not even sure where that would fit in PHP parser.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php