Re: when is PHP_MSHUTDOWN_FUNCTION called?
| From: | Derick Rethans | Date: | Mon, 08 Mar 2004 11:34:01 +0000 |
| Subject: | Re: when is PHP_MSHUTDOWN_FUNCTION called? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8444@lists.php.net to get a copy of this message | ||
On Mon, 8 Mar 2004, ashish b\ wrote:
> Here I can see PHP_MSHUTDOWN_FUNCTION before entering the myfunction
> and also after the myfunction.This should not be happening.
> PHP_MSHUTDOWN_FUNCTION should be called only if I shut down apache
> server?
No, reread my mail:
> It's not called at the beginning of a *request* but it is called when
> apache starts up. Apache first initializes every module, then
> deinitializes it and then initializes it again which result in MINIT,
> MSHUTDOWN and MINIT being called.
Derick