mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
9 lines
341 B
PHP
9 lines
341 B
PHP
|
|
<?php
|
|||
|
|
|
|||
|
|
declare(strict_types=1);
|
|||
|
|
|
|||
|
|
$str = 'brotli_compress ( string $data, int $level = BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = BROTLI_GENERIC, string|null $dict = null ): string|false';
|
|||
|
|
assert(function_exists('brotli_compress'));
|
|||
|
|
assert(function_exists('brotli_uncompress '));
|
|||
|
|
assert(brotli_uncompress(brotli_compress($str)) === $str);
|