Re: Re: php globals delete

From: Date: Wed, 13 Feb 2002 15:50:59 +0000
Subject: Re: Re: php globals delete
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80016@lists.php.net to get a copy of this message
On Wed, 13 Feb 2002, brad lafountain wrote: > Well how do i properly delete my global memory with without having > zts enabled You can do it in your MINIT/MSHUTDOWN functions. (or RINIT and RSHUTDOWN): http://www.php.net/manual/en/zend.structure.module-block.php http://www.php.net/manual/en/zend.startup-and-shutdown.php regards, Derick > > - Brad > --- Yasuo Ohgaki <yasuo_ohgaki@yahoo.com> wrote: > > Brad Lafountain wrote: > > > Question.. > > > > > > why doens't the destructor get called on shutdown with the following > > line... > > > > > > ZEND_INIT_MODULE_GLOBALS(soap, php_init_globals, php_del_globals); > > > > > > > According to the macro definition, it does not use > > it unless PHP is compiled with ZTS. > > > > -- > > Yasuo Ohgaki > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#80016) next »