mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 20:05:35 +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