(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)
zlib_get_coding_type — Returns the coding type used for output compression
zlib_get_coding_type(): string|false
Returns the coding type used for output compression.
This function has no parameters.
Possible return values are gzip, deflate, or false.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.zlib-get-coding-type.php