how to control hook calling order
| From: | Charmaine Tian | Date: | Mon, 14 Jan 2002 20:09:30 +0000 |
| Subject: | how to control hook calling order | ||
| Groups: | php.dev php.general | ||
| Request: | Send a blank email to php-dev+get-77058@lists.php.net to get a copy of this message | ||
Hi there,
I'm creating a PHP extension of my own, and I'd like my extension's
module_startup_function (i.e., PHP_MINIT_FUNC) to be the last one called
among all the extensions' MINIT funcs. I'd also like my extension's
request_startup_function (PHP_RINIT_FUNC) to be the first one called among
all extension's RINIT funcs.
Is there any way that allows me to control the calling order of the
module_startup/shutdown functions and request_startup/shutdown functions of
my own extension relative to other extensions? I'm using PHP-4.1.0 on Linux.
Thanks a lot for your help.
--Charmaine Tian