mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
add bz2 test
This commit is contained in:
parent
09e5c16570
commit
1731cc1202
6
src/globals/tests/bz2.php
Normal file
6
src/globals/tests/bz2.php
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
$str = 'This is bz2 extension test';
|
||||||
|
exit(bzdecompress(bzcompress($str, 9)) === $str ? 0 : 1);
|
||||||
Loading…
x
Reference in New Issue
Block a user