PHP Conference Nagoya 2025

Попередньо визначені константи

Константи, описані нижче — визначені цим розширенням, тож доступні, коли розширення скомпільовано як частина PHP або динамічно підключене під час виконання.

FORCE_GZIP (int)
FORCE_DEFLATE (int)
ZLIB_ENCODING_RAW (int)
DEFLATE algorithm as per RFC 1951.
ZLIB_ENCODING_DEFLATE (int)
ZLIB compression algorithm as per RFC 1950.
ZLIB_ENCODING_GZIP (int)
GZIP algorithm as per 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)
zlib version number as a string.
ZLIB_VERNUM (int)
zlib version number as an int.
ZLIB_OK (int)
No errors or additional status information.
ZLIB_STREAM_END (int)
Stream ended successfully.
ZLIB_NEED_DICT (int)
Preset dictionary is needed.
ZLIB_ERRNO (int)
File operation error.
ZLIB_STREAM_ERROR (int)
Stream state is inconsistent or a parameter is invalid.
ZLIB_DATA_ERROR (int)
Input data is corrupted.
ZLIB_MEM_ERROR (int)
Insufficient memory.
ZLIB_BUF_ERROR (int)
No progress is possible due to insufficient buffer space or unexpected ending of an input stream.
ZLIB_VERSION_ERROR (int)
zlib library version is incompatible with the version assumed by the caller.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top