Re: Re: generated API docs for PHP5 packages
| From: | Alexey Borzov | Date: | Tue, 17 Oct 2006 17:16:52 +0000 |
| Subject: | Re: Re: generated API docs for PHP5 packages | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44602@lists.php.net to get a copy of this message | ||
Hi,
Gregory Beaver wrote:
We still aren't running PHP5 on pear.php.net? Ouch.I noticed that docs for PHP5 classes on PEAR website do not contain information about access modifiers (protected, static, etc.). See for example: http://pear.php.net/package/HTML_Common2/docs/0.3.0/HTML_Common2/HTML_Common2.html Since phpDocumentor 1.3.0 can handle PHP5 code, I presume the problem is with the converter/template used?Yes, templates did need to be updated to handle the new information in some cases. However, more important is to run phpDocumentor in PHP 5 itself, something that is not done on the production server. Otherwise it won't recognize T_PUBLIC/T_PRIVATE tokens as existing because ext/tokenizer doesn't recognize them without php 5.