HTTP_ARG_VAL(encoded, 0)
HTTP_END_ARGS;
+HTTP_BEGIN_ARGS(support, 0)
+ HTTP_ARG_VAL(feature, 0)
+HTTP_END_ARGS;
+
zend_class_entry *http_util_object_ce;
zend_function_entry http_util_object_fe[] = {
HTTP_UTIL_ALIAS(date, http_date)
HTTP_UTIL_ALIAS(inflate, http_inflate)
HTTP_UTIL_ALIAS(compress, http_compress)
HTTP_UTIL_ALIAS(uncompress, http_uncompress)
+ HTTP_UTIL_ALIAS(support, http_support)
EMPTY_FUNCTION_ENTRY
};
-void _http_util_object_init(INIT_FUNC_ARGS)
+PHP_MINIT_FUNCTION(http_util_object)
{
HTTP_REGISTER_CLASS(HttpUtil, http_util_object, NULL, 0);
+ return SUCCESS;
}
#endif /* ZEND_ENGINE_2 */