Keywords / PHP, Destructor, Programming languages

Tags: PHP, Destructor, Programming 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.