diff options
Diffstat (limited to 'ext/phar/tests/016.phpt')
-rw-r--r-- | ext/phar/tests/016.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/phar/tests/016.phpt b/ext/phar/tests/016.phpt index 3288e8eca4..302d06d3cb 100644 --- a/ext/phar/tests/016.phpt +++ b/ext/phar/tests/016.phpt @@ -9,14 +9,14 @@ phar.require_hash=0 <?php $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; $pname = 'phar://' . $fname; -$file = b"<?php __HALT_COMPILER(); ?>"; +$file = "<?php __HALT_COMPILER(); ?>"; // file length is too short $files = array(); // "hi" gzdeflated -$files['a'] = array('cont'=>b'a','comp'=> (binary)pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen' => 1, 'clen' => 4); +$files['a'] = array('cont'=>'a','comp'=> pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen' => 1, 'clen' => 4); $files['b'] = $files['a']; -$files['c'] = array('cont'=>b'*'); +$files['c'] = array('cont'=>'*'); $files['d'] = $files['a']; include 'files/phar_test.inc'; |