cvs: ZendAPI / Extending_Zend_StartupAndShutdown.xml Extending_Zend_Structure.xml
| From: | Derick Rethans | Date: | Tue, 10 Dec 2002 12:54:10 +0000 |
| Subject: | cvs: ZendAPI / Extending_Zend_StartupAndShutdown.xml Extending_Zend_Structure.xml | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-705@lists.php.net to get a copy of this message | ||
derick Tue Dec 10 07:54:10 2002 EDT
Modified files:
/ZendAPI Extending_Zend_StartupAndShutdown.xml
Extending_Zend_Structure.xml
Log:
- Remove global initializers
Index: ZendAPI/Extending_Zend_StartupAndShutdown.xml
diff -u ZendAPI/Extending_Zend_StartupAndShutdown.xml:1.5
ZendAPI/Extending_Zend_StartupAndShutdown.xml:1.6
--- ZendAPI/Extending_Zend_StartupAndShutdown.xml:1.5 Mon Feb 11 05:10:33 2002
+++ ZendAPI/Extending_Zend_StartupAndShutdown.xml Tue Dec 10 07:54:10 2002
@@ -1,21 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- $Revision: 1.5 $ -->
+ <!-- $Revision: 1.6 $ -->
<chapter id="zend.startup-and-shutdown">
<title>Startup and Shutdown Functions</title>
<para>
Startup and shutdown functions can be used for one-time
initialization and deinitialization of your modules. As discussed
earlier in this chapter (see the description of the Zend module
- descriptor block), there are global, module, and request startup
+ descriptor block), there are module, and request startup
and shutdown events.
</para>
- <para>
- The global startup functions are called once when PHP starts up;
- similarly, the global shutdown functions are called once when PHP
- shuts down. Please note that they're really only called
- <emphasis>once</emphasis>, not when a new Apache process is being
- created!
- </para>
<para>
The module startup and shutdown functions are called whenever a
module is loaded and needs initialization; the request startup and
Index: ZendAPI/Extending_Zend_Structure.xml
diff -u ZendAPI/Extending_Zend_Structure.xml:1.10 ZendAPI/Extending_Zend_Structure.xml:1.11
--- ZendAPI/Extending_Zend_Structure.xml:1.10 Mon Mar 25 03:13:46 2002
+++ ZendAPI/Extending_Zend_Structure.xml Tue Dec 10 07:54:10 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- $Revision: 1.10 $ -->
+ <!-- $Revision: 1.11 $ -->
<chapter id="zend.structure">
<title>Source Discussion</title>
<para>
@@ -371,8 +371,6 @@
int (*request_shutdown_func)(SHUTDOWN_FUNC_ARGS);
void (*info_func)(ZEND_MODULE_INFO_FUNC_ARGS);
char *version;
- int (*global_startup_func)(void);
- int (*global_shutdown_func)(void);
[ Rest of the structure is not interesting here ]