#29483 [Fbk->NoF]: php crashes while destroying a referenced object

From: Date: Tue, 24 Aug 2004 23:00:09 +0000
Subject: #29483 [Fbk->NoF]: php crashes while destroying a referenced object
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65199@lists.php.net to get a copy of this message
ID: 29483 Updated by: php-bugs@lists.php.net Reported By: stefan dot textor at dsi-project dot de -Status: Feedback +Status: No Feedback Bug Type: Zend Engine 2 problem Operating System: Windows 2000 PHP Version: 5.0.0 New Comment: No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2004-08-17 17:41:47] tony2001@php.net 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#65199) next »