deflate_add
deflate_add
Incrementally deflate data
**deflate_add** DeflateContext $context string $data int $flush_mode
Incrementally deflates data in the specified context.
context
A context created with .
deflate_init
dataA chunk of data to compress.
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 compressed data, return.falseforfailure.
If invalid arguments are given, an error of level
is generated.
E_WARNING
deflate_init