#19844 [Fbk->NoF]: using $this->array messed up with overload support
| From: | sniper@php.net | Date: | Thu, 14 Nov 2002 07:48:46 +0000 |
| Subject: | #19844 [Fbk->NoF]: using $this->array messed up with overload support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24862@lists.php.net to get a copy of this message | ||
ID: 19844
Updated by: sniper@php.net
Reported By: ekgerke@yahoo.com
-Status: Feedback
+Status: No Feedback
Bug Type: Class/Object related
Operating System: Linux
PHP Version: 4.2.3
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2002-10-28 10:08:06] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-10-10 06:40:03] ekgerke@yahoo.com
Goes like that:
class myclass {
var $myarr = array();
function myclass() {
$this->myarr[test] = 1; // works here
$this->myfunc();
$this->another();
}
function myfunc() {
$this->myarr[test1] = 1; // doesn't work here
}
function another() {
reset($this->myarr); // SIGSEGV here
foreach($this->myarr as $k => $val) {
} // either a warning about $this->myarr not being an array or
SIGSEGV (same in constructor);
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19844&edit=1