As constantes abaixo são definidas por esta extensão e só estarão disponíveis quando a extensão tiver sido compilada no PHP ou tiver sido carregada dinamicamente em tempo de execução.
FORCE_GZIP
(int)
FORCE_DEFLATE
(int)
ZLIB_ENCODING_RAW
(int)
Algotítmo DEFLATE conforme RFC 1951.
ZLIB_ENCODING_DEFLATE
(int)
Algorítimo ZLIB conforme RFC 1950.
ZLIB_ENCODING_GZIP
(int)
Algorítimo GZIP conforme RFC 1952.
ZLIB_FILTERED
(int)
ZLIB_HUFFMAN_ONLY
(int)
ZLIB_FIXED
(int)
ZLIB_RLE
(int)
ZLIB_DEFAULT_STRATEGY
(int)
ZLIB_BLOCK
(int)
ZLIB_NO_FLUSH
(int)
ZLIB_PARTIAL_FLUSH
(int)
ZLIB_SYNC_FLUSH
(int)
ZLIB_FULL_FLUSH
(int)
ZLIB_FINISH
(int)
ZLIB_VERSION
(string)
Versão da zlib como uma string.
ZLIB_VERNUM
(int)
Versão da zlib como um int.
ZLIB_OK
(int)
Sem error ou informações de status.
ZLIB_STREAM_END
(int)
Fluxo concluído com sucesso.
ZLIB_NEED_DICT
(int)
É necessário dicionário preset.
ZLIB_ERRNO
(int)
Erro de operação em arquivo.
ZLIB_STREAM_ERROR
(int)
O estado do fluxo está inconsistente ou o parâmetro é inválido.
ZLIB_DATA_ERROR
(int)
Dados de entrada corrompidos.
ZLIB_MEM_ERROR
(int)
Memória insuficiente.
ZLIB_BUF_ERROR
(int)
Progresso não é possível por espaço insuficiente no buffer ou final inesperao do fluxo de entrada.
ZLIB_VERSION_ERROR
(int)
Versão da biblioteca zlib é incompatível com a versão esperada pelo chamador.