http_exception_object_init();
#endif /* ZEND_ENGINE_2 */
+ zend_hash_init_ex(&http_response_statics, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1, 0);
+ zend_fix_static_properties(http_response_object_ce, &http_response_statics TSRMLS_CC);
return SUCCESS;
}
/* }}} */
/* {{{ PHP_MSHUTDOWN_FUNCTION */
PHP_MSHUTDOWN_FUNCTION(http)
{
+ zend_hash_destroy(&http_response_statics);
UNREGISTER_INI_ENTRIES();
#ifdef HTTP_HAVE_CURL
curl_global_cleanup();
}
http_globals_init(HTTP_GLOBALS);
+ zend_init_static_properties(http_response_object_ce, &http_response_statics TSRMLS_CC);
return SUCCESS;
}
/* }}} */
/* {{{ PHP_RSHUTDOWN_FUNCTION */
PHP_RSHUTDOWN_FUNCTION(http)
{
+ zend_clean_static_properties(http_response_object_ce TSRMLS_CC);
http_globals_free(HTTP_GLOBALS);
return SUCCESS;
}