mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
e16636f069
- fix metadata handling with cached phars - fix virtual_dirs with rmdir - ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
17 lines
315 B
PHP
17 lines
315 B
PHP
--TEST--
|
|
Phar: copy-on-write test 2 [cache_list]
|
|
--INI--
|
|
default_charset=UTF-8
|
|
phar.cache_list={PWD}/copyonwrite2.phar.php
|
|
phar.readonly=0
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
--FILE_EXTERNAL--
|
|
files/write2.phar
|
|
--EXPECT--
|
|
string(2) "hi"
|
|
bool(true)
|
|
string(2) "hi"
|
|
bool(true)
|
|
bool(true)
|
|
ok
|