Skip to content

Commit c6c4f21

Browse files
committed
zlib_* string functions
1 parent feba3e4 commit c6c4f21

File tree

2 files changed

+41
-17
lines changed

2 files changed

+41
-17
lines changed

ext/zlib/zlib.stub.php

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,28 +179,52 @@ function gzopen(string $filename, string $mode, int $use_include_path = 0) {}
179179

180180
function readgzfile(string $filename, int $use_include_path = 0): int|false {}
181181

182-
/** @refcount 1 */
182+
/**
183+
* @compile-time-eval
184+
* @refcount 1
185+
*/
183186
function zlib_encode(string $data, int $encoding, int $level = -1): string|false {}
184187

185-
/** @refcount 1 */
188+
/**
189+
* @compile-time-eval
190+
* @refcount 1
191+
*/
186192
function zlib_decode(string $data, int $max_length = 0): string|false {}
187193

188-
/** @refcount 1 */
194+
/**
195+
* @compile-time-eval
196+
* @refcount 1
197+
*/
189198
function gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW): string|false {}
190199

191-
/** @refcount 1 */
200+
/**
201+
* @compile-time-eval
202+
* @refcount 1
203+
*/
192204
function gzencode(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_GZIP): string|false {}
193205

194-
/** @refcount 1 */
206+
/**
207+
* @compile-time-eval
208+
* @refcount 1
209+
*/
195210
function gzcompress(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_DEFLATE): string|false {}
196211

197-
/** @refcount 1 */
212+
/**
213+
* @compile-time-eval
214+
* @refcount 1
215+
*/
198216
function gzinflate(string $data, int $max_length = 0): string|false {}
199217

200-
/** @refcount 1 */
218+
/**
219+
* @compile-time-eval
220+
* @refcount 1
221+
*/
201222
function gzdecode(string $data, int $max_length = 0): string|false {}
202223

203-
/** @refcount 1 */
224+
/**
225+
* @compile-time-eval
226+
* @refcount 1
227+
*/
204228
function gzuncompress(string $data, int $max_length = 0): string|false {}
205229

206230
/**

ext/zlib/zlib_arginfo.h

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)