|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-17 17:41 UTC] tony2001@php.net
[2004-08-25 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 11:00:02 2025 UTC |
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