#28849 [Opn->Bgs]: "Cannot re-assign $this (...)" is comming while using a phpDocumentor
| From: | helly@php.net | Date: | Sun, 20 Jun 2004 09:25:32 +0000 |
| Subject: | #28849 [Opn->Bgs]: "Cannot re-assign $this (...)" is comming while using a phpDocumentor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61116@lists.php.net to get a copy of this message | ||
ID: 28849
Updated by: helly@php.net
Reported By: brego at bplusf dot net
-Status: Open
+Status: Bogus
Bug Type: Class/Object related
Operating System: Linux
PHP Version: 5.0.0RC3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Never try to change $this. That is very bad software design in PHP 4
and hence no longer working in PHP 5.
Previous Comments:
------------------------------------------------------------------------
[2004-06-20 00:30:17] brego at bplusf dot net
Description:
------------
I know it could be a scripting issue, but I'm getting the same bug
while using PEAR's Var_Dump. I don't realy understand the issue -
maybey It's not eaven abug but a feauture - but then it is not
documented...
Reproduce code:
---------------
Fatal error: Cannot re-assign $this in
/usr/local/lib/php/PhpDocumentor/phpDocumentor/ParserElements.inc on
line 238
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28849&edit=1