xref: /PHP-5.3/ext/phar/tests/003a.phpt (revision 610c7fbe)
1--TEST--
2Phar::canCompress, specific
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5--FILE--
6<?php
7var_dump(Phar::canCompress(Phar::GZ) == extension_loaded("zlib"));
8var_dump(Phar::canCompress(Phar::BZ2) == extension_loaded("bz2"));
9?>
10===DONE===
11--EXPECT--
12bool(true)
13bool(true)
14===DONE===
15