diff options
Diffstat (limited to 'ext/phar/tests/bug45218_SLOWTEST.phpt')
-rw-r--r-- | ext/phar/tests/bug45218_SLOWTEST.phpt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/phar/tests/bug45218_SLOWTEST.phpt b/ext/phar/tests/bug45218_SLOWTEST.phpt index d6b20a2823..80356afc52 100644 --- a/ext/phar/tests/bug45218_SLOWTEST.phpt +++ b/ext/phar/tests/bug45218_SLOWTEST.phpt @@ -1,8 +1,11 @@ --TEST-- Phar::buildFromIterator() iterator, too many files for open file handles (Bug #45218) --SKIPIF-- -<?php if (!extension_loaded("phar")) die("skip"); ?> -<?php if (getenv('SKIP_SLOW_TESTS')) die('skip'); ?> +<?php +if (!extension_loaded("phar")) die("skip"); +if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request'); +?> --INI-- phar.require_hash=0 phar.readonly=0 |