php.net |  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
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:
42 - 11 = ?
Subscribe to this entry?

 
 [2004-03-21 11:59 UTC] hannes at phpug dot ch
Description:
------------
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 18:01:28 2024 UTC