dis-bench / src /php /php-src /ext /phar /tests /003.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
247 Bytes
--TEST--
Phar::canCompress
--EXTENSIONS--
phar
--FILE--
<?php
/* check this works and actually returns the boolean value */
var_dump(Phar::canCompress() == (
extension_loaded("zlib") || extension_loaded("bz2")
));
?>
--EXPECT--
bool(true)