|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28849 "Cannot re-assign $this (...)" is comming while using a phpDocumentor
Submitted: 2004-06-20 00:30 UTC Modified: 2004-06-20 11:25 UTC
From: brego at bplusf dot net Assigned:
Status: Not a bug Package: Class/Object related
PHP Version: 5.0.0RC3 OS: Linux
Private report: No CVE-ID: None
 [2004-06-20 00:30 UTC] brego at bplusf dot net
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/ on line 238


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-20 11:25 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

Never try to change $this. That is very bad software design in PHP 4 and hence no longer working in PHP 5.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 12:01:28 2024 UTC