Extension Cleanup

From: Date: Mon, 14 Feb 2005 03:33:28 +0000
Subject: Extension Cleanup
Groups: php.internals 
Request: Send a blank email to internals+get-14911@lists.php.net to get a copy of this message
Is there a set of functions within an extension that is called automatically by the ZEND engine framework to "initialize" and "deinitailize" the extension? In a particular PHP script, a user may call a method that sets up an environment. I cannot always rely on the user to call the cleanup API method at the end of the script. In that event, I would like my extension to automatically cleanup after itself when the script completes. Is there anyway to do this?

« previous php.internals (#14911) next »