PHP.nl

inflate_add

inflate_add

Incrementally inflate encoded data

 **inflate_add** InflateContext $context string $data int $flush_mode

Incrementally inflates encoded data in the specified . context

Limitation: header information from GZIP compressed data are not made available.

context A context created with . inflate_init

dataA chunk of compressed data.

flush_mode One of , , , (default), , . Normally you will want to set to maximize compression, and to terminate with the last chunk of data. See the for a detailed description of these constants. ZLIB_BLOCK``ZLIB_NO_FLUSH``ZLIB_PARTIAL_FLUSH``ZLIB_SYNC_FLUSH``ZLIB_FULL_FLUSH``ZLIB_FINISH``ZLIB_NO_FLUSH``ZLIB_FINISHzlib manual

Returns a chunk of uncompressed data, return.falseforfailure.

If invalid parameters are given, inflating the data requires a preset dictionary, but none is specified, the compressed stream is corrupt or has an invalid checksum, an error of level is generated. E_WARNING

inflate_init