PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Tools and Utilities » PhpDocumentor » Bug #3766

Fatal error: Cannot re-assign $this in /usr/local/lib/php/PhpDocumentor/phpDocu

Details

Submitted2005-03-10 15:10 UTC
Fromjamesr at totalinfosecurity dot com
StatusDuplicate
PackagePhpDocumentor
PHP Version5.0.3
OSLinux (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"?