--TEST-- Phar: gzipped phar --SKIPIF-- --INI-- phar.readonly=0 phar.require_hash=0 --FILE-- setAlias('another'); $b = new Phar($fname2); var_dump($b->isFileFormat(Phar::PHAR)); var_dump($b->isCompressed() == Phar::GZ); $a = stat($pname . '/test'); $b = stat($pname2 . '/test'); if ($a['mtime'] != $b['mtime']) { echo "timestamp changed, was $a[mtime], now $b[mtime]!\n"; } ?> ===DONE=== --CLEAN-- --EXPECTF-- string(9) "it worked" string(%d) "phar://%sphar_gzip.phar/tar_004.php" bool(true) bool(true) ===DONE===