Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<zlib_encodeDeflateContext>
^Zlib FunctionsLast updated: Mon, 26 Oct 2026

zlib_get_coding_type

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

zlib_get_coding_type — Returns the coding type used for output compression

Description

function 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


<zlib_encodeDeflateContext>
^Zlib FunctionsLast updated: Mon, 26 Oct 2026