note 70372 added to language.references
| From: | djaisi2k4 at gmail dot com | Date: | Fri, 13 Oct 2006 11:21:41 +0000 |
| Subject: | note 70372 added to language.references | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118490@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 66.163.161.117
Probable Submitter: 193.226.163.194 (proxied: 127.0.0.1)
----
Manual Page -- http://www.php.net/manual/en/language.references.php
Edit -- https://master.php.net/note/edit/70372
Del: integrated -- https://master.php.net/note/delete/70372/integrated
Del: useless -- https://master.php.net/note/delete/70372/useless
Del: bad code -- https://master.php.net/note/delete/70372/bad+code
Del: spam -- https://master.php.net/note/delete/70372/spam
Del: non-english -- https://master.php.net/note/delete/70372/non-english
Del: in docs -- https://master.php.net/note/delete/70372/in+docs
Del: other reasons-- https://master.php.net/note/delete/70372
Reject -- https://master.php.net/note/reject/70372
Search -- https://master.php.net/manage/user-notes.php