note 11889 deleted from language.oop by vincent
| From: | vincent@php.net | Date: | Thu, 11 Sep 2003 19:53:47 +0000 |
| Subject: | note 11889 deleted from language.oop by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56189@lists.php.net to get a copy of this message | ||
Note Submitter: pawsa@theochem.kth.se
----
[Editor's note: See a sample destructor implementation in the section of the manual dealing
with the PEAR code]
Concerning the comment on desctructors: [Editor's note: ... To destroy an object, just assign
to the variable, or use unset(), as you would with any other variable in the language. ...]: this
does not allow to execute an action on destroying an object. One might want to clear temporary files
etc on object destruction. I understand that there is no way to do so with PHP 4.0, is that correct?