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

inflate_get_status

PHP function Edit on GitHub ✎

(PHP 7 >= 7.2.0, PHP 8)

Get decompression status

Description

inflate_get_status(InflateContext $context): int

Usually returns either ZLIB_OK or ZLIB_STREAM_END.

Parameters

context

Return Values

Returns decompression status.

Changelog

VersionDescription
8.0.0context expects an InflateContext instance now; previously, a resource was expected.

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