forked from JetBrains/phpstorm-stubs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlzf.php
38 lines (35 loc) · 943 Bytes
/
lzf.php
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
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Compresses the given data string using LZF encoding.
*
* @link https://www.php.net/manual/en/function.lzf-compress.php
*
* @param string $data Data to be compressed
*
* @return false|string Returns the compressed data or FALSE if an error occurred.
*
* @since 0.1.0
*/
function lzf_compress($data) {}
/**
* Decompresses the given data string containing lzf encoded data.
*
* @link https://www.php.net/manual/en/function.lzf-decompress.php
*
* @param string $data The compressed string.
*
* @return false|string Returns the decompressed data or FALSE if an error occurred.
*
* @since 0.1.0
*/
function lzf_decompress($data) {}
/**
* Determines what was LZF extension optimized for during compilation.
*
* @link https://www.php.net/manual/en/function.lzf-optimized-for.php
*
* @return int Returns 1 if LZF was optimized for speed, 0 for compression.
*
* @since 1.0.0
*/
function lzf_optimized_for() {}