diff options
Diffstat (limited to 'ext/phar/tests/zip')
-rw-r--r-- | ext/phar/tests/zip/all.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/allU.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/metadata_write_commit.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/metadata_write_commitU.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_begin_setstub_commit.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_begin_setstub_commitU.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_magic.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_magicU.phpt | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/ext/phar/tests/zip/all.phpt b/ext/phar/tests/zip/all.phpt index 49d79a44cc..d69b76e1ea 100644 --- a/ext/phar/tests/zip/all.phpt +++ b/ext/phar/tests/zip/all.phpt @@ -3,7 +3,7 @@ Phar: test that creation of zip-based phar generates valid zip with all bells/wh --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); if (!extension_loaded("spl")) die("skip SPL not available"); if (!extension_loaded("zlib")) die("skip zlib not available"); if (!extension_loaded("bz2")) die("skip bz2 not available"); diff --git a/ext/phar/tests/zip/allU.phpt b/ext/phar/tests/zip/allU.phpt index 93fe5da4c0..97a9dd53bd 100644 --- a/ext/phar/tests/zip/allU.phpt +++ b/ext/phar/tests/zip/allU.phpt @@ -3,7 +3,7 @@ Phar: test that creation of zip-based phar generates valid zip with all bells/wh --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); if (!extension_loaded("spl")) die("skip SPL not available"); if (!extension_loaded("zlib")) die("skip zlib not available"); if (!extension_loaded("bz2")) die("skip bz2 not available"); diff --git a/ext/phar/tests/zip/metadata_write_commit.phpt b/ext/phar/tests/zip/metadata_write_commit.phpt index 1629636222..326695f825 100644 --- a/ext/phar/tests/zip/metadata_write_commit.phpt +++ b/ext/phar/tests/zip/metadata_write_commit.phpt @@ -3,7 +3,7 @@ Phar with meta-data (write) zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); ?> --INI-- phar.require_hash=0 diff --git a/ext/phar/tests/zip/metadata_write_commitU.phpt b/ext/phar/tests/zip/metadata_write_commitU.phpt index bc589af909..9e54ba7f6b 100644 --- a/ext/phar/tests/zip/metadata_write_commitU.phpt +++ b/ext/phar/tests/zip/metadata_write_commitU.phpt @@ -3,7 +3,7 @@ Phar with meta-data (write) zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); ?> --INI-- phar.require_hash=0 diff --git a/ext/phar/tests/zip/phar_begin_setstub_commit.phpt b/ext/phar/tests/zip/phar_begin_setstub_commit.phpt index dc59f2f3aa..5c42c29962 100644 --- a/ext/phar/tests/zip/phar_begin_setstub_commit.phpt +++ b/ext/phar/tests/zip/phar_begin_setstub_commit.phpt @@ -3,7 +3,7 @@ Phar::startBuffering()/setStub()/stopBuffering() zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); ?> --INI-- phar.readonly=0 diff --git a/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt b/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt index 2956fc6f4a..ae38d59c5f 100644 --- a/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt +++ b/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt @@ -3,7 +3,7 @@ Phar::startBuffering()/setStub()/stopBuffering() zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); ?> --INI-- phar.readonly=0 diff --git a/ext/phar/tests/zip/phar_magic.phpt b/ext/phar/tests/zip/phar_magic.phpt index 694f927773..b05e6974a8 100644 --- a/ext/phar/tests/zip/phar_magic.phpt +++ b/ext/phar/tests/zip/phar_magic.phpt @@ -3,7 +3,7 @@ Phar: include/fopen magic zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); ?> --INI-- phar.require_hash=0 diff --git a/ext/phar/tests/zip/phar_magicU.phpt b/ext/phar/tests/zip/phar_magicU.phpt index f034e4ede7..4f843bc378 100644 --- a/ext/phar/tests/zip/phar_magicU.phpt +++ b/ext/phar/tests/zip/phar_magicU.phpt @@ -3,7 +3,7 @@ Phar: include/fopen magic zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); ?> --INI-- phar.require_hash=0 |