|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56009 Assignment to $this
Submitted: 2004-03-21 11:59 UTC Modified: 2005-01-09 10:59 UTC
From: hannes at phpug dot ch Assigned: hholzgra (profile)
Status: Closed Package: PECL_Gen (PECL)
PHP Version: 5CVS-2004-03-21 (dev) OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hannes at phpug dot ch
New email:
PHP Version: OS:


 [2004-03-21 11:59 UTC] hannes at phpug dot ch
Your package makes assignments to $this, which results in a fatal error. Package won't run, not even "pecl-gen --help".

Reproduce code:
$this = $this->raise("'$name' is not a valid test case basename");

Actual result:
Fatal error: Cannot re-assign $this in /usr/local/lib/php/PECL/Gen/Element/Test.php on line 46


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-09 10:59 UTC]
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 22:01:26 2020 UTC