@ -1133,10 +1133,6 @@ PHP_MSHUTDOWN_FUNCTION(basic)
PHP_RINIT_FUNCTION(basic)
{
#ifdef PHP_WIN32
CoInitialize(NULL);
#endif
memset(BG(strtok_table), 0, 256);
BG(strtok_string) = NULL;
BG(strtok_zval) = NULL;
@ -1229,10 +1225,6 @@ PHP_RSHUTDOWN_FUNCTION(basic)
}
CoUninitialize();
return SUCCESS;
@ -873,6 +873,10 @@ int php_request_startup(TSRMLS_D)
int retval = SUCCESS;
#if PHP_SIGCHILD
signal(SIGCHLD, sigchld_handler);
@ -1072,6 +1076,10 @@ void php_request_shutdown(void *dummy)
zend_try {
zend_unset_timeout(TSRMLS_C);
} zend_end_try();
/* }}} */