From 1b934660ca0a7e31abca235f484466813604fa6d Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Sat, 17 May 2008 06:27:21 +0000 Subject: [PATCH] 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 --- internals2/structure/modstruct.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/internals2/structure/modstruct.xml b/internals2/structure/modstruct.xml index 8c6df4a9e9..5b416abc80 100644 --- a/internals2/structure/modstruct.xml +++ b/internals2/structure/modstruct.xml @@ -1,5 +1,5 @@ - + The zend_module structure @@ -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. @@ -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 = { + + What's changed between 5.2 and 5.3? + + + Nothing. The only difference in the zend_module structure + between PHP 5.2 and PHP 5.3 is a few const keywords. + + + +