(no version information, might be only in CVS)
This should be used to test whether compression is possible prior to loading a phar archive containing compressed files.
TRUE if compression/decompression is available, FALSE if not.
Esempio 1. A canCompress() example
<?phpif (Phar::canCompress()) { echo file_get_contents('phar://whatever.phar/internal/file.txt');} else { echo 'no compression available';}?>