summaryrefslogtreecommitdiff
path: root/ext/phar/tests/009.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/009.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/009.phpt')
-rw-r--r--ext/phar/tests/009.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/009.phpt b/ext/phar/tests/009.phpt
index c80445d61b..42bdf1d1e7 100644
--- a/ext/phar/tests/009.phpt
+++ b/ext/phar/tests/009.phpt
@@ -6,10 +6,10 @@ Phar::mapPhar too many manifest entries
phar.require_hash=0
--FILE--
<?php
-$file = "<?php
+$file = (binary)"<?php
Phar::mapPhar('hio');
__HALT_COMPILER(); ?>";
-$file .= pack('VVnVVV', 500, 500, 0x1000, 0x00000000, 0, 0) . str_repeat('A', 500);
+$file .= pack('VVnVVV', 500, 500, 0x1000, 0x00000000, 0, 0) . (binary)str_repeat('A', 500);
file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file);
try {
include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';