Re: Macros for global startup/shutdown functions
| From: | Derick Rethans | Date: | Tue, 10 Dec 2002 12:58:35 +0000 |
| Subject: | Re: Macros for global startup/shutdown functions | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92304@lists.php.net to get a copy of this message | ||
On Tue, 10 Dec 2002, Thomas Wentzel wrote:
> Derick Rethans wrote:
>
> > They are indeed not called anymore, as we just removed the
> > functionality, but it still compiles of course. However, where did you
> > see this documented? It's neither in phpdoc or the ZendAPI docs.
> >
> > Derick
>
> Well.. a quick glimpse revealed the following two pages (don't know if there
> are more)
> http://www.zend.com/apidoc/zend.structure.module-block.php
> The cell explaining "Remaining structure elements" clearly insinuates
> that
> the GINIT/GSHUTDOWN be present (not to mention fig. 8-4 :)
> http://www.zend.com/apidoc/zend.startup-and-shutdown.php
> The first line of the second paragraph also speaks of these...
>
> Would it be too much a pain if I were to modify the code to call my global
> functions?
Just move them to module startup/shutdown; it doesn't make any
difference anyway.
> Do you recall in which version this functionality was removed?
no, I really dont recall, try lxr.php.net :)
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------