summaryrefslogtreecommitdiff
path: root/main/php_main.h
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2017-10-05 19:07:28 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-10-08 17:49:24 +0200
commit4fcecfb291387593cfebfc4ea085ebb6742792cd (patch)
tree6f0ce41ad81e8c9b7a7661c6672ad1f75d0d4c23 /main/php_main.h
parent3644cc61112e48321a93d2afb455c225b8150f30 (diff)
downloadphp-git-4fcecfb291387593cfebfc4ea085ebb6742792cd.tar.gz
Remove old apache_hooks occurrence
The apache_hooks SAPI has been removed since PHP >= 7.0 and there is no need to have two different php_request_startup definitions. Also php_request_startup_for_hook() and php_request_shutdown_for_hook() functions are not used in the PHP source code directly anymore. They are out of sync and are not touched when making changes to the shutdown sequence. The php_start_sapi() function was therefore not used anymore and is removed.
Diffstat (limited to 'main/php_main.h')
-rw-r--r--main/php_main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/php_main.h b/main/php_main.h
index ff342a1f38..539f9e7456 100644
--- a/main/php_main.h
+++ b/main/php_main.h
@@ -34,8 +34,6 @@ PHPAPI int php_module_startup(sapi_module_struct *sf, zend_module_entry *additio
PHPAPI void php_module_shutdown(void);
PHPAPI void php_module_shutdown_for_exec(void);
PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);
-PHPAPI int php_request_startup_for_hook(void);
-PHPAPI void php_request_shutdown_for_hook(void *dummy);
PHPAPI int php_register_extensions(zend_module_entry **ptr, int count);