A tried at 3v4l.org and the first version to have the ZLIB_ENCODING_* constants was 5.4.0.
As contantes abaixo são definidas por esta extensão e somente estarão disponíveis quando a extensão foi compilada com o PHP ou carregada dinamicamente durante a execução.
FORCE_GZIP
(integer)
FORCE_DEFLATE
(integer)
A tried at 3v4l.org and the first version to have the ZLIB_ENCODING_* constants was 5.4.0.
I'm noticing that all the ZLIB_ENCODING_* constants are documented to exist as of PHP 7.0, but I seem to be able to use them in PHP 5.5.9.
Could someone please confirm this documentation?