Fix structure declaration, only talk about 5.2+, discuss the (lack of) change between 5.2/5.3

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259855 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gwynne Raskind 2008-05-17 06:27:21 +00:00
parent beaeb2af58
commit 1b934660ca

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<sect1 xml:id="internals2.structure.modstruct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>The zend_module structure</title>
<para>
@ -9,8 +9,8 @@
This structure contains a wealth of information that tells the Zend Engine
about the extension's dependencies, version, callbacks, and other critical
data. The structure has mutated considerably over time; this section will
focus on the structure as it has appeared since PHP 5.0, and will identify
the very few parts which have changed in PHP 5.1, 5.2, and 5.3.
focus on the structure as it has appeared since PHP 5.2, and will identify
the very few parts which have changed in PHP 5.3.
</para>
<para>
@ -68,7 +68,7 @@ struct _zend_module_entry {
int (*request_startup_func)(INIT_FUNC_ARGS);
int (*request_shutdown_func)(SHUTDOWN_FUNC_ARGS);
void (*info_func)(ZEND_MODULE_INFO_FUNC_ARGS);
char *version;
const char *version;
size_t globals_size;
#ifdef ZTS
ts_rsrc_id* globals_id_ptr;
@ -554,6 +554,16 @@ zend_module_entry counter_module_entry = {
</sect2>
<sect2 xml:id="internals2.structure.modstruct.php53">
<title>What's changed between 5.2 and 5.3?</title>
<simpara>
Nothing. The only difference in the <literal>zend_module</literal> structure
between PHP 5.2 and PHP 5.3 is a few <modifier>const</modifier> keywords.
</simpara>
</sect2>
</sect1>
<!-- Keep this comment at the end of the file