Searched refs:work_factor (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/bz2/tests/ |
H A D | bzcompress_programming_errors.phpt | 24 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 D | bz2.stub.php | 45 function bzcompress(string $data, int $block_size = 4, int $work_factor = 0): string|int {} argument
|
H A D | bz2_arginfo.h | 41 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, work_factor, IS_LONG, 0, "0")
|
H A D | bz2.c | 463 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 D | UPGRADING | 25 . bzcompress() now throws a ValueError when $work_factor is not between
|
Completed in 9 milliseconds