xref: /PHP-8.4/ext/phar/tests/003a.phpt (revision 74859783)
1--TEST--
2Phar::canCompress, specific
3--EXTENSIONS--
4phar
5--FILE--
6<?php
7var_dump(Phar::canCompress(Phar::GZ) == extension_loaded("zlib"));
8var_dump(Phar::canCompress(Phar::BZ2) == extension_loaded("bz2"));
9?>
10--EXPECT--
11bool(true)
12bool(true)
13