summaryrefslogtreecommitdiff
path: root/ext/phar/tests/018.phpt
diff options
context:
space:
mode:
authorSteph Fox <sfox@php.net>2008-05-19 19:05:42 +0000
committerSteph Fox <sfox@php.net>2008-05-19 19:05:42 +0000
commitf08aea109bc0704bae93f35b7b94e1021c669523 (patch)
tree5d97717e9dd83f748075dd5be64173ca3e02df04 /ext/phar/tests/018.phpt
parent69deb7bc425e422ca4190cacd59c5c0336672788 (diff)
downloadphp-git-f08aea109bc0704bae93f35b7b94e1021c669523.tar.gz
- IS_UNICODE checks and conversions
- stub and creation file updates - far too many test updates to think about
Diffstat (limited to 'ext/phar/tests/018.phpt')
-rw-r--r--ext/phar/tests/018.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/phar/tests/018.phpt b/ext/phar/tests/018.phpt
index 97cd323779..320356fd4d 100644
--- a/ext/phar/tests/018.phpt
+++ b/ext/phar/tests/018.phpt
@@ -8,7 +8,7 @@ phar.require_hash=0
<?php
$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
$pname = 'phar://' . $fname;
-$file = "<?php
+$file = (binary)"<?php
Phar::mapPhar('hio');
__HALT_COMPILER(); ?>";
@@ -19,10 +19,12 @@ include 'files/phar_test.inc';
include $fname;
$dir = opendir('phar://hio/');
+
while (false !== ($a = readdir($dir))) {
var_dump($a);
var_dump(is_dir('phar://hio/' . $a));
}
+
?>
--CLEAN--
<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>