Re: unset( $anobject) does not invoce __destruct()
| From: | kranthi | Date: | Mon, 24 Aug 2009 12:46:44 +0000 |
| Subject: | Re: unset( $anobject) does not invoce __destruct() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297115@lists.php.net to get a copy of this message | ||
unset($obj) always calls the __destruct() function of the class.
in your case clearly you are missing something else. Probably
unset($anobject) is not being called at all ?