forked from udan11/php-xz
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathxz.stub.php
More file actions
25 lines (17 loc) · 651 Bytes
/
xz.stub.php
File metadata and controls
25 lines (17 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
* @generate-legacy-arginfo
* @generate-class-entries
* @undocumentable
*/
/** @alias fread */
function xzread(resource $fp, ?int $length = UNKNOWN): string|false {}
/** @alias fwrite */
function xzwrite(resource $fp, string $str, ?int $length = UNKNOWN): int|false {}
/** @alias fclose */
function xzclose(resource $fp): bool {}
/** @alias fpassthru */
function xzpassthru(resource $fp): int|false {}
function xzencode(string $str, ?int $compression_level = null): string|false {}
function xzdecode(string $str): string|false {}
function xzopen(string $filename, string $mode, int $compression_level = UNKNOWN): resource|false {}