PHP_RINIT(basic), /* request startup */
PHP_RSHUTDOWN(basic), /* request shutdown */
PHP_MINFO(basic), /* extension info */
- PHP_GINIT(basic), /* global startup function */
- NULL, /* global shutdown function */
- STANDARD_MODULE_PROPERTIES_EX
+ STANDARD_MODULE_PROPERTIES
};
#if defined(HAVE_PUTENV)
register_html_constants(INIT_FUNC_ARGS_PASSTHRU);
register_string_constants(INIT_FUNC_ARGS_PASSTHRU);
+ PHP_MINIT(output)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(regex)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(file)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(pack)(INIT_FUNC_ARGS_PASSTHRU);
}
-PHP_GINIT_FUNCTION(basic)
-{
- PHP_GINIT(output)(GINIT_FUNC_ARGS_PASSTHRU);
-
- return SUCCESS;
-}
-
-
PHP_MINFO_FUNCTION(basic)
{
php_info_print_table_start();
PHP_RINIT_FUNCTION(basic);
PHP_RSHUTDOWN_FUNCTION(basic);
PHP_MINFO_FUNCTION(basic);
-PHP_GINIT_FUNCTION(basic);
PHP_FUNCTION(constant);
PHP_FUNCTION(intval);
}
-PHP_GINIT_FUNCTION(output)
+PHP_MINIT_FUNCTION(output)
{
#ifdef ZTS
output_globals_id = ts_allocate_id(sizeof(php_output_globals), (ts_allocate_ctor) php_output_init_globals, NULL);
PHP_FUNCTION(ob_get_length);
PHP_FUNCTION(ob_implicit_flush);
-PHP_GINIT_FUNCTION(output);
+PHP_MINIT_FUNCTION(output);
typedef struct _php_ob_buffer {
char *buffer;
}
-PHP_GINIT_FUNCTION(output)
+PHP_MINIT_FUNCTION(output)
{
#ifdef ZTS
output_globals_id = ts_allocate_id(sizeof(php_output_globals), (ts_allocate_ctor) php_output_init_globals, NULL);
PHP_FUNCTION(ob_get_length);
PHP_FUNCTION(ob_implicit_flush);
-PHP_GINIT_FUNCTION(output);
+PHP_MINIT_FUNCTION(output);
typedef struct _php_ob_buffer {
char *buffer;