mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
577db99462
In the same time, let's not verify implementation aliases since they may now legitimately differ from their aliased function/method counterparts (think about the ext/dom refactoring where e.g. many return type declarations have changed). Additionally, unnecessary `@no-verify` tags are cleaned up.
48 lines
975 B
PHP
48 lines
975 B
PHP
<?php
|
|
|
|
/** @generate-class-entries */
|
|
|
|
/**
|
|
* @param string|resource $file
|
|
* @return resource|false
|
|
*/
|
|
function bzopen($file, string $mode) {}
|
|
|
|
/** @param resource $bz */
|
|
function bzread($bz, int $length = 1024): string|false {}
|
|
|
|
/**
|
|
* @param resource $bz
|
|
* @implementation-alias fwrite
|
|
*/
|
|
function bzwrite($bz, string $data, ?int $length = null): int|false {}
|
|
|
|
/**
|
|
* @param resource $bz
|
|
* @implementation-alias fflush
|
|
*/
|
|
function bzflush($bz): bool {}
|
|
|
|
/**
|
|
* @param resource $bz
|
|
* @implementation-alias fclose
|
|
*/
|
|
function bzclose($bz): bool {}
|
|
|
|
/** @param resource $bz */
|
|
function bzerrno($bz): int {}
|
|
|
|
/** @param resource $bz */
|
|
function bzerrstr($bz): string {}
|
|
|
|
/**
|
|
* @param resource $bz
|
|
* @return array<string, int|string>
|
|
* @refcount 1
|
|
*/
|
|
function bzerror($bz): array {}
|
|
|
|
function bzcompress(string $data, int $block_size = 4, int $work_factor = 0): string|int {}
|
|
|
|
function bzdecompress(string $data, bool $use_less_memory = false): string|int|false {}
|