PHP 7.4.22 Released!

inflate_get_status

(PHP 7 >= 7.2.0, PHP 8)

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.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top