php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 15 = ?
Subscribe to this entry?

 
 [2004-06-20 00:30 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-20 11:25 UTC] helly@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 16:01:27 2024 UTC