Keywords / PHP, Destructor, Scripting languages

Tags: PHP, Destructor, Scripting languages

Classes and objects in PHP: destructors

Classes and objects in PHP: destructors
PHP does not directly support destructors. However, you can easily simulate a destructor by calling the PHP function unset.