diff options
Diffstat (limited to 'ext/phar/tests/019.phpt')
-rw-r--r-- | ext/phar/tests/019.phpt | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/ext/phar/tests/019.phpt b/ext/phar/tests/019.phpt deleted file mode 100644 index 818dfd7ec5..0000000000 --- a/ext/phar/tests/019.phpt +++ /dev/null @@ -1,34 +0,0 @@ ---TEST-- -Phar: opendir test, subdirectory ---SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> ---INI-- -phar.require_hash=0 ---FILE-- -<?php -$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; -$pname = 'phar://' . $fname; -$file = "<?php -Phar::mapPhar('hio'); -__HALT_COMPILER(); ?>"; - -$files = array(); -$files['a'] = 'a'; -$files['b/a'] = 'b'; -$files['b/c/d'] = 'c'; -$files['bad/c'] = 'd'; -include 'phar_test.inc'; -include $fname; -$dir = opendir('phar://hio/b'); -while (false !== ($a = readdir($dir))) { - var_dump($a); - var_dump(is_dir('phar://hio/b/' . $a)); -} -?> ---CLEAN-- -<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> ---EXPECT-- -string(1) "a" -bool(false) -string(1) "c" -bool(true)
\ No newline at end of file |