note 70372 rejected from language.references by bobby
| From: | bobby@php.net | Date: | Fri, 13 Oct 2006 14:24:36 +0000 |
| Subject: | note 70372 rejected from language.references by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118502@lists.php.net to get a copy of this message | ||
Note Submitter: djaisi2k4 at gmail dot com
----
How can i unset an object when i have only a reference to it?
Can i make a destructor inside the object an make a call to destroy that object? Or pass a
&$this reference to a friend function that makes someting like unset($param) ?
Pls help me with this.
I need it for removing children from a tree without searching the parent of the node and by having a
reference to the given child node.
Thx.