Re: Bug #2780 [NEW]: Cannot re-assign $this in Container.php
| From: | Ryan King | Date: | Tue, 23 Nov 2004 05:20:24 +0000 |
| Subject: | Re: Bug #2780 [NEW]: Cannot re-assign $this in Container.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34511@lists.php.net to get a copy of this message | ||
I can't seem to reproduce this bug with PHP 5.0.2. Could you possible send me a snippet of code that reproduces the error for you?
thanks,
ryan
On Nov 17, 2004, at 10:52 PM, kiryu at angelicwing dot net wrote:
From: kiryu at angelicwing dot netOperating system: FreeBSD4.9PHP version: 5CVS-2004-11-17 (dev) Package: Config Bug Type: BugBug description: Cannot re-assign $this in Container.php Description: ------------ I guess this is no more vaild in the ZendEngine2: $target =& $this; Expected result: ---------------- no fatal error Actual result: -------------- Fatal error: Cannot re-assign $this in /Path/To/pear/Config/Container.php on line 125 -- Edit bug report at http://pear.php.net/bugs/bug.php?id=2780&edit=1 --