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
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: 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: Sun Dec 22 02:01:28 2024 UTC