Keywords / PHP, unset

Tags: PHP, unset

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.