mirror of
https://github.com/php/php-src.git
synced 2025-01-19 18:24:15 +08:00
merge from HEAD changes to test
This commit is contained in:
parent
e8756a3c3c
commit
7d114c2e7f
@ -9,14 +9,14 @@ phar.require_hash=0
|
||||
<?php
|
||||
$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
|
||||
$pname = 'phar://' . $fname;
|
||||
$file = "<?php __HALT_COMPILER(); ?>";
|
||||
$file = b"<?php __HALT_COMPILER(); ?>";
|
||||
// file length is too short
|
||||
|
||||
$files = array();
|
||||
// "hi" gzdeflated
|
||||
$files['a'] = array('cont'=>'a','comp'=> pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen' => 1, 'clen' => 4);
|
||||
$files['a'] = array('cont'=>b'a','comp'=> (binary)pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen' => 1, 'clen' => 4);
|
||||
$files['b'] = $files['a'];
|
||||
$files['c'] = array('cont'=>'*');
|
||||
$files['c'] = array('cont'=>b'*');
|
||||
$files['d'] = $files['a'];
|
||||
include 'files/phar_test.inc';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user