← All docs

gzuncompress()

Uncompress a compressed string.

gzuncompress()

function gzuncompress(string $data, int $max_length = 0): mixed

Uncompress a compressed string.

Parameters:

  • $data (string)
  • $max_length (int), default 0, optional

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how gzuncompress is implemented in the compiler, see the internals page.