mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
* use upstream phpmicro * move src/global/tests to src/global/ext-tests * move src/global/tests to src/global/ext-tests * prevent file_get_contents memory insufficience * update README * fix libxml >= 2.12 with older PHP (<=8.1) build bug * cleanup code, support newer phpmicro * add --no-strip and --with-upx-pack tests * fix windows sanity check for newer phpmicro * fix windows sanity check for newer phpmicro * test * test * test * update deps for ci
9 lines
202 B
PHP
9 lines
202 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
$str = 'This is bz2 extension test';
|
|
assert(function_exists('bzdecompress'));
|
|
assert(function_exists('bzcompress'));
|
|
assert(bzdecompress(bzcompress($str, 9)) === $str);
|