mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
14 lines
285 B
Plaintext
14 lines
285 B
Plaintext
|
--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)
|