diff options
author | Marcus Boerger <helly@php.net> | 2008-01-04 16:26:44 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-01-04 16:26:44 +0000 |
commit | 2eecfbf94ebee06ab6f577b59292451237c7da7c (patch) | |
tree | d95f6bc2826be07575ad259e7859024e40d1040c /ext/phar/tests/phar_get_supportedcomp3.phpt | |
parent | 95a9f1faf6646b2b052ef09ad77d59b93501375a (diff) | |
download | php-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.phpt | 8 |
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-- |