Annotation of embedaddon/php/ext/phar/tests/003a.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Phar::canCompress, specific
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded("phar")) die("skip"); ?>
! 5: --FILE--
! 6: <?php
! 7: var_dump(Phar::canCompress(Phar::GZ) == extension_loaded("zlib"));
! 8: var_dump(Phar::canCompress(Phar::BZ2) == extension_loaded("bz2"));
! 9: ?>
! 10: ===DONE===
! 11: --EXPECT--
! 12: bool(true)
! 13: bool(true)
! 14: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>