add bz2 test

This commit is contained in:
crazywhalecc 2023-04-03 20:51:02 +08:00
parent 09e5c16570
commit 1731cc1202
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -0,0 +1,6 @@
<?php
declare(strict_types=1);
$str = 'This is bz2 extension test';
exit(bzdecompress(bzcompress($str, 9)) === $str ? 0 : 1);