ID: 19844 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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
