note 11372 modified in Classes and Objects by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Sun, 18 Feb 2001 19:38:51 +0000 |
| Subject: | note 11372 modified in Classes and Objects by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11218@lists.php.net to get a copy of this message | ||
[Editor's note: PHP is a scripting language, and thus the object is associated with the
variable containing it. To destroy an object, just assign to the variable, or use unset(), as you
would with any other variable in the language. This should be clear from reading the introductory
material on the language in this manual.]
I could not find any mention about destructor. What good is an class that does not have a destructor
? Does any one know of any trick to accomplish the same functionality as that of a destructor ?
http://www.php.net/manual/classes-and-objects.php