php / 8.1.5 / function.zlib-get-coding-type.html /

zlib_get_coding_type

(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)

zlib_get_coding_typeReturns the coding type used for output compression

Description

zlib_get_coding_type(): string|false

Returns the coding type used for output compression.

Parameters

This function has no parameters.

Return Values

Possible return values are gzip, deflate, or false.

See Also

© 1997–2021 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