![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Phar::canCompress 3: --SKIPIF-- 4: <?php if (!extension_loaded("phar")) die("skip"); ?> 5: --FILE-- 6: <?php 7: /* check this works and actually returns the boolean value */ 8: var_dump(Phar::canCompress() == ( 9: extension_loaded("zlib") || extension_loaded("bz2") 10: )); 11: ?> 12: --EXPECT-- 13: bool(true)