zlib_encode Compress data with the specified encoding &reftitle.description; stringfalsezlib_encode stringdata intencoding intlevel-1 Compress data with the specified encoding. &warn.undocumented.func; &reftitle.parameters; data The data to compress. encoding The compression algorithm. Either ZLIB_ENCODING_RAW, ZLIB_ENCODING_DEFLATE or ZLIB_ENCODING_GZIP. level &reftitle.returnvalues; &reftitle.examples; <function>zlib_encode</function> example ]]> &example.outputs; &reftitle.seealso; zlib_decode