summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_get_supportedcomp3.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-01-04 16:26:44 +0000
committerMarcus Boerger <helly@php.net>2008-01-04 16:26:44 +0000
commit2eecfbf94ebee06ab6f577b59292451237c7da7c (patch)
treed95f6bc2826be07575ad259e7859024e40d1040c /ext/phar/tests/phar_get_supportedcomp3.phpt
parent95a9f1faf6646b2b052ef09ad77d59b93501375a (diff)
downloadphp-git-2eecfbf94ebee06ab6f577b59292451237c7da7c.tar.gz
- Change 'print' to 'die' for skip notices
Diffstat (limited to 'ext/phar/tests/phar_get_supportedcomp3.phpt')
-rw-r--r--ext/phar/tests/phar_get_supportedcomp3.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/phar/tests/phar_get_supportedcomp3.phpt b/ext/phar/tests/phar_get_supportedcomp3.phpt
index 75911abd28..be84a23310 100644
--- a/ext/phar/tests/phar_get_supportedcomp3.phpt
+++ b/ext/phar/tests/phar_get_supportedcomp3.phpt
@@ -1,10 +1,10 @@
--TEST--
Phar::getSupportedCompression() (zlib)
--SKIPIF--
-<?php if (!extension_loaded("phar")) print "skip"; ?>
-<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?>
-<?php if (extension_loaded("bz2")) print "skip bz2 is available"; ?>
-<?php if (!extension_loaded("zlib")) print "skip zlib not available"; ?>
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
+<?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?>
+<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
--INI--
phar.require_hash=0
--FILE--