mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
fix test - metadata works now
This commit is contained in:
parent
8c4477cde5
commit
398bcf4dd0
@ -24,6 +24,7 @@ foreach($files as $name => $cont) {
|
||||
var_dump(file_get_contents($p2name.'/'.$name));
|
||||
}
|
||||
|
||||
copy($f2name, $fname);
|
||||
$phar = new Phar($fname);
|
||||
$phar->startBuffering();
|
||||
$phar['a']->setMetadata(42);
|
||||
@ -38,9 +39,7 @@ $phar->stopBuffering();
|
||||
|
||||
unset($phar);
|
||||
|
||||
copy($f2name, $fname);
|
||||
|
||||
$phar = new Phar($fname2);
|
||||
$phar = new Phar($fname);
|
||||
|
||||
foreach($files as $name => $cont) {
|
||||
var_dump(file_get_contents($pname.'/'.$name));
|
||||
|
Loading…
Reference in New Issue
Block a user