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