inflate_get_status

PHP 7 >= 7.2.0, PHP 8
inflate_get_status - Get decompression status
Manual

inflate_get_status( InflateContext$context ): int

Usually returns either ZLIB_OK or ZLIB_STREAM_END.

Parameters

context

Return Values

Returns decompression status or false on failure.

Changelog

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

Function inflate_get_status:

  • Manual

Zlib Compression Functions

Most used PHP functions