inflate_get_status

(PHP 7 >= 7.2.0)

inflate_get_statusGet 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 or false on failure.

Changelog

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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.inflate-get-status.php