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

inflate_get_read_len

PHP function Edit on GitHub ✎

(PHP 7 >= 7.2.0, PHP 8)

Get number of bytes read so far

Description

inflate_get_read_len(InflateContext $context): int

Func

Parameters

context

Return Values

Returns number of bytes read so farFalseforfailure.

Changelog

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

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