mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
- Added a new PHPAPI function to return module_initialized:
php_get_module_initialized().
This commit is contained in:
parent
bcf7e60d4c
commit
29565d1a4c
@ -528,6 +528,13 @@ static int php_during_module_shutdown(void)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ php_get_module_initialized
|
||||
*/
|
||||
PHPAPI int php_get_module_initialized(void)
|
||||
{
|
||||
return module_initialized;
|
||||
}
|
||||
|
||||
/* {{{ php_log_err
|
||||
*/
|
||||
PHPAPI void php_log_err(char *log_message TSRMLS_DC)
|
||||
|
@ -285,6 +285,7 @@ void phperror(char *error);
|
||||
PHPAPI int php_write(void *buf, uint size TSRMLS_DC);
|
||||
PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
|
||||
2);
|
||||
PHPAPI int php_get_module_initialized(void);
|
||||
PHPAPI void php_log_err(char *log_message TSRMLS_DC);
|
||||
int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
|
||||
int cfgparse(void);
|
||||
|
Loading…
Reference in New Issue
Block a user