On Wed, 02 Apr 2003, Zeev Suraski wrote: > I don't really like the idea of cluttering the parser with additional rules > if it's not really necessary. I think that the idea proposed by Alan is > actually the best way to go (keep the last comment in a global, use and > reset it in the next relevant declaration implementation). IIRC, that's > also the way the Zend Development Environment does the job :)
What about this case: $a = 5; /** * set $b to 3 */ $b = 3; class Bar { } We don't want to apply this doc comment to class Bar, so it needs to be reset on every statement, basically. Isn't that right? -Andrei http://www.gravitonic.com/ * Anything will fit if you push hard enough. * -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php