#29483 [Opn->Fbk]: php crashes while destroying a referenced object
| From: | tony2001@php.net | Date: | Tue, 17 Aug 2004 15:41:48 +0000 |
| Subject: | #29483 [Opn->Fbk]: php crashes while destroying a referenced object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64799@lists.php.net to get a copy of this message | ||
ID: 29483
Updated by: tony2001@php.net
Reported By: stefan dot textor at dsi-project dot de
-Status: Open
+Status: Feedback
Bug Type: Zend Engine 2 problem
Operating System: Windows 2000
PHP Version: 5.0.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Works fine here. Both under Win32 & Linux.
Previous Comments:
------------------------------------------------------------------------
[2004-08-01 16:26:21] stefan dot textor at dsi-project dot de
Description:
------------
php crashes while setting a references object to null
Reproduce code:
---------------
class MyClass {
function __destruct() {
print "Destroying object";
}
}
$test = new MyClass();
$test1 = $test;
$test = null;
Expected result:
----------------
object should be destroyed and both references should be null imho
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29483&edit=1