Re: ext/phpdoc commited
| From: | Olivier Courtin | Date: | Thu, 13 Dec 2001 08:07:11 +0000 |
| Subject: | Re: ext/phpdoc commited | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3470@lists.php.net to get a copy of this message | ||
On Wed, 12 Dec 2001 10:48:52 +0100
jan@kneschke.de wrote:
Hello,
> Ok, I have commited the phpdoc extension to the php4 tree.
Yeap :)
I've spend few time last night to look to the new PECL/phpdoc version.
First i had difficult to install it and didn't find better than to
remove CG(lang_scanner) calls in phpdoc.c and still keep comments for
'static' in zend_language_scanner.l
Have i miss something ? :) Surely, but don't know what... ;)
Then i've fix and add some other minors things like (diff -u join) :
- enable to use constant in function default param as function foo($bar
= TRUE){...}
- static support for var (works like global one)
- var default value support in XML output
- recognize phpdoc comments beginning like /** (Use <phpdoc> tag to this
kind of comments instead of <comment>)
For information i'm *not at all* a C developper, and i've no idea about
portability code and so on... (but it seems to work at home... ;))
I also wrote a little php test script who could be helpfull for future
debug and regression testing... (on pear tree i obtain for the moment :
192 right parsing on 353 files)
HTH :)
--
Olivier