The HttpDeflateStream class
PHP Manual

HttpDeflateStream::finish

(PECL pecl_http >= 0.21.0)

HttpDeflateStream::finishFinalize deflate stream

说明

public string HttpDeflateStream::finish ([ string $data ] )

Finalizes the deflate stream. The deflate stream can be reused after finalizing.

参数

data

data to deflate

返回值

Returns the final part of deflated data.


The HttpDeflateStream class
PHP Manual