mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
add bz2 test
This commit is contained in:
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);
|
||||
Reference in New Issue
Block a user