X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;h=0c68635b1a662f1af3814bdf8b1abeb4336938b9;hp=d1c6dba68f55f0082dbf7b2f9e82e64624775b37;hb=494c4fd4db3772b99821f31aaa14ad632b5fd713;hpb=9a35b7682fede86cb0167d21a67fea38a6e85181 diff --git a/http_request_object.c b/http_request_object.c index d1c6dba..0c68635 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -34,6 +34,8 @@ #include "php_http_message_object.h" #include "php_http_exception_object.h" +#include "missing.h" + #ifdef PHP_WIN32 # include #endif @@ -278,7 +280,7 @@ zend_function_entry http_request_object_fe[] = { HTTP_REQUEST_ALIAS(methodUnregister, http_request_method_unregister) HTTP_REQUEST_ALIAS(methodName, http_request_method_name) HTTP_REQUEST_ALIAS(methodExists, http_request_method_exists) - + {NULL, NULL, NULL} }; static zend_object_handlers http_request_object_handlers; @@ -287,8 +289,6 @@ void _http_request_object_init(INIT_FUNC_ARGS) { HTTP_REGISTER_CLASS_EX(HttpRequest, http_request_object, NULL, 0); - _http_request_object_declare_default_properties(TSRMLS_C); - /* HTTP/1.1 */ HTTP_LONG_CONSTANT("HTTP_GET", HTTP_GET); HTTP_LONG_CONSTANT("HTTP_HEAD", HTTP_HEAD);