2019-08-15 21:11:46 +00:00
|
|
|
<?php
|
|
|
|
|
2021-02-08 19:08:11 +00:00
|
|
|
/** @generate-class-entries */
|
2020-04-04 19:26:46 +00:00
|
|
|
|
2019-08-15 21:11:46 +00:00
|
|
|
/**
|
|
|
|
* @param string|resource $file
|
|
|
|
* @return resource|false
|
|
|
|
*/
|
|
|
|
function bzopen($file, string $mode) {}
|
|
|
|
|
2019-11-08 22:29:12 +00:00
|
|
|
/** @param resource $bz */
|
|
|
|
function bzread($bz, int $length = 1024): string|false {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-04-04 11:03:16 +00:00
|
|
|
/**
|
|
|
|
* @param resource $bz
|
2020-10-13 18:03:00 +00:00
|
|
|
* @implementation-alias fwrite
|
2021-01-18 15:14:31 +00:00
|
|
|
* @no-verify Uses different parameter name
|
2020-04-04 11:03:16 +00:00
|
|
|
*/
|
2020-10-05 14:53:13 +00:00
|
|
|
function bzwrite($bz, string $data, ?int $length = null): int|false {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-04-04 11:03:16 +00:00
|
|
|
/**
|
|
|
|
* @param resource $bz
|
2020-10-13 18:03:00 +00:00
|
|
|
* @implementation-alias fflush
|
2021-01-18 15:14:31 +00:00
|
|
|
* @no-verify Uses different parameter name
|
2020-04-04 11:03:16 +00:00
|
|
|
*/
|
2019-11-08 22:29:12 +00:00
|
|
|
function bzflush($bz): bool {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-04-04 11:03:16 +00:00
|
|
|
/**
|
|
|
|
* @param resource $bz
|
2020-10-13 18:03:00 +00:00
|
|
|
* @implementation-alias fclose
|
2021-01-18 15:14:31 +00:00
|
|
|
* @no-verify Uses different parameter name
|
2020-04-04 11:03:16 +00:00
|
|
|
*/
|
2019-11-08 22:29:12 +00:00
|
|
|
function bzclose($bz): bool {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-02-18 18:59:15 +00:00
|
|
|
/** @param resource $bz */
|
2021-11-05 10:13:08 +00:00
|
|
|
function bzerrno($bz): int {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-02-18 18:59:15 +00:00
|
|
|
/** @param resource $bz */
|
2021-11-05 10:13:08 +00:00
|
|
|
function bzerrstr($bz): string {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2021-08-30 21:25:22 +00:00
|
|
|
/**
|
|
|
|
* @param resource $bz
|
|
|
|
* @return array<string, int|string>
|
|
|
|
* @refcount 1
|
|
|
|
*/
|
2021-11-05 10:13:08 +00:00
|
|
|
function bzerror($bz): array {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-10-06 11:06:15 +00:00
|
|
|
function bzcompress(string $data, int $block_size = 4, int $work_factor = 0): string|int {}
|
2019-08-15 21:11:46 +00:00
|
|
|
|
2020-10-06 11:07:21 +00:00
|
|
|
function bzdecompress(string $data, bool $use_less_memory = false): string|int|false {}
|