+--------------------------------------------------------------------+
*/
-#include "php_http.h"
-
-#include <Zend/zend_interfaces.h>
+#include "php_http_api.h"
PHP_HTTP_API STATUS php_http_headers_parse(const char *header, size_t length, HashTable *headers, php_http_info_callback_t callback_func, void **callback_data TSRMLS_DC)
{
}
zvalue = php_http_ztyp(IS_STRING, zend_read_property(php_http_header_class_entry, getThis(), ZEND_STRL("value"), 0 TSRMLS_CC));
- RETURN_BOOL(php_http_match(Z_STRVAL_P(zvalue), val_str, flags))
+ RETVAL_BOOL(php_http_match(Z_STRVAL_P(zvalue), val_str, flags));
+ zval_ptr_dtor(&zvalue);
}
PHP_MINIT_FUNCTION(http_header)