Home
last modified time | relevance | path

Searched refs:work_factor (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/bz2/tests/
H A Dbzcompress_programming_errors.phpt24 var_dump(bzcompress($string, work_factor: -1));
29 var_dump(bzcompress($string, work_factor: 255));
38 ValueError: bzcompress(): Argument #3 ($work_factor) must be between 0 and 250
39 ValueError: bzcompress(): Argument #3 ($work_factor) must be between 0 and 250
/php-src/ext/bz2/
H A Dbz2.stub.php45 function bzcompress(string $data, int $block_size = 4, int $work_factor = 0): string|int {} argument
H A Dbz2_arginfo.h41 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, work_factor, IS_LONG, 0, "0")
H A Dbz2.c463 int work_factor = (int) zwork_factor; in PHP_FUNCTION() local
475 …Z2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0, work_factor); in PHP_FUNCTION()
/php-src/
H A DUPGRADING25 . bzcompress() now throws a ValueError when $work_factor is not between

Completed in 9 milliseconds