php8.5
Home/ Manual/ zlib / functions/ zlib_get_coding_type

zlib_get_coding_type

PHP function Edit on GitHub ✎

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

Returns the coding type used for output compression

Description

zlib_get_coding_type(): string|false

Returns the coding type used for output compression.

Parameters Parameters

Return Values

Possible return values are gzip, deflate, or false.

See Also

Source: reference/zlib/functions/zlib-get-coding-type.xml · from the official PHP manual (php/doc-en)