blob: 37e31072d499b22566f07570289e01e678b77894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Phar::canCompress, specific
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--FILE--
<?php
var_dump(Phar::canCompress(Phar::GZ) == extension_loaded("zlib"));
var_dump(Phar::canCompress(Phar::BZ2) == extension_loaded("bz2"));
?>
===DONE===
--EXPECT--
bool(true)
bool(true)
===DONE===
|