summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_gzip.phpt
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-05-02 05:05:56 +0000
committerGreg Beaver <cellog@php.net>2008-05-02 05:05:56 +0000
commitbfbe53eeb2300c4a608ec1f85e37d89b64c5c51f (patch)
treea18d8ab6743807d11b1a9d753d6b5f95ae7406ab /ext/phar/tests/phar_gzip.phpt
parente0bc2b2be174c7e0bc367aa34aceb296e9691ff5 (diff)
downloadphp-git-bfbe53eeb2300c4a608ec1f85e37d89b64c5c51f.tar.gz
refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
[DOC]
Diffstat (limited to 'ext/phar/tests/phar_gzip.phpt')
-rw-r--r--ext/phar/tests/phar_gzip.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/phar_gzip.phpt b/ext/phar/tests/phar_gzip.phpt
index e305c48367..1a61a2ef3b 100644
--- a/ext/phar/tests/phar_gzip.phpt
+++ b/ext/phar/tests/phar_gzip.phpt
@@ -36,7 +36,7 @@ $a = new Phar($fname);
$a['test'] = 'hi';
copy($fname, $fname2);
$b = new Phar($fname2);
-var_dump($b->isPhar());
+var_dump($b->isFileFormat(Phar::PHAR));
var_dump($b->isCompressed() == Phar::GZ);
?>
===DONE===