Home » Tools and Utilities » PhpDocumentor » Bug #3766
Fatal error: Cannot re-assign $this in /usr/local/lib/php/PhpDocumentor/phpDocu
Details
| Submitted | 2005-03-10 15:10 UTC |
|---|---|
| From | jamesr at totalinfosecurity dot com |
| Status | Duplicate |
| Package | PhpDocumentor |
| PHP Version | 5.0.3 |
| OS | Linux (FC3) 2.6.9 |
| Roadmaps | (Not assigned) |
Comments
[2005-03-10 15:10 UTC] jamesr at totalinfosecurity dot com
Description:
------------
When I run phpdoc I get the following error:
Fatal error: Cannot re-assign $this in /usr/local/lib/php/PhpDocumentor/phpDocumentor/ParserElements.inc on line 238
This is probably due to the fact that PHP5 does not allow you to modify $this (it is considered a serious kludge) whereas PHP4 allows it.
Are there plans to make phpDocumentor compatible with PHP5?
[2005-03-31 00:33 UTC] powtac at gmx dot de
Fixed in 1.3.0RC3, see:
http://pear.php.net/bugs/bug.php?id=2553
[2005-04-02 10:56 UTC] jamesr at totalinfosecurity dot com
Yes, you are right, the beta version works fine. When will it be changed to "stable"?