"http.inflate"
};
+#if PHP_HTTP_HAVE_LIBBROTLI
static PHP_HTTP_FILTER_OPS(brotli_encode) = {
PHP_HTTP_FILTER_FUNC(stream),
PHP_HTTP_FILTER_DTOR(stream),
PHP_HTTP_FILTER_DTOR(stream),
"http.brotli_decode"
};
+#endif
#if PHP_VERSION_ID >= 70200
static php_stream_filter *http_filter_create(const char *name, zval *params, uint8_t p)
}
} else
+#if PHP_HTTP_HAVE_LIBBROTLI
if (!strcasecmp(name, "http.brotli_encode")) {
PHP_HTTP_FILTER_BUFFER(stream) *b = NULL;
}
}
}
+#endif
return f;
}