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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: brego at bplusf dot net
New email:
PHP Version: OS:

 

 [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: Sun Oct 13 13:01:27 2024 UTC