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 #7569

this pointer assigning

Details

Submitted2006-05-06 14:23 UTC
Frommegerlin at drk-ditzingen dot de
StatusBogus
PackagePhpDocumentor
PHP Version5.1.2
OSdebian etch
Roadmaps(Not assigned)

Comments

[2006-05-06 14:23 UTC] megerlin at drk-ditzingen dot de

Description:
------------
After installation, I started the PhpDocumentor with:
> phpdoc -h

and then this happened:

Fatal error: Cannot re-assign $this
in /usr/share/php/PhpDocumentor/phpDocumentor/ParserElements.inc
on line 238

As everyone can see, this line contains some code like
this:
$this=....

Can't believe that something like this is legal ;-)

Expected result:
----------------
some help text