PHP 7.1.19 Released

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

FORCE_GZIP (integer)
FORCE_DEFLATE (integer)
add a note add a note

User Contributed Notes 2 notes

up
3
dave dot mariano1991 at gmail dot com
8 months ago
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?
up
0
diogoko at gmail dot com
1 month ago
A tried at 3v4l.org and the first version to have the ZLIB_ENCODING_* constants was 5.4.0.
To Top