summaryrefslogtreecommitdiff
path: root/ext/phar/tests/003.phpt
blob: fcc95a848155e69c0607dfb6e3a0eaf7c2ea10bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Phar::canCompress
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--FILE--
<?php
/* check this works and actually returns the boolean value */
var_dump(Phar::canCompress() == (
	extension_loaded("zlib") || extension_loaded("bz2")
	));
?>
--EXPECT--
bool(true)