Re: Extension or module?
| From: | Andrei Zmievski | Date: | Thu, 16 Dec 1999 14:08:52 +0000 |
| Subject: | Re: Extension or module? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13755@lists.php.net to get a copy of this message | ||
On Wed, 15 Dec 1999, rubys@us.ibm.com wrote:
>
>
>
> > Let's standardize this: are we calling the PHP extension libraries
> > 'extensions' or 'modules'? Internally, Zend seems to be calling them
> > modules, and PHP calls them extensions.
>
> Last week, I made a change which I hope made the names slightly less
> confusing. Yes, PHP and Zend still call the same things by different
> names, but before my change PHP was mixing the two, and at the same time
> making reference to Apache modules. Here's some excepts from the diff.
>
> -zend_module_entry *php3_builtin_modules[] = {
> +zend_module_entry *php_builtin_extensions[] = {
>
> -int module_startup_modules(void)
> +int php_startup_internal_extensions(void)
>
> -int module_global_startup_modules(void)
> +int php_global_startup_internal_extensions(void)
>
> -int module_global_shutdown_modules(void)
> +int php_global_shutdown_internal_extensions(void)
Sure, except Zend still has 'module_registry' and other stuff.
-Andrei
* I wish life had an UNDO function. *