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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hannes at phpug dot ch
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 15:01:29 2024 UTC