1--TEST-- 2Phar: copy-on-write test 4a [cache_list] 3--INI-- 4default_charset=UTF-8 5phar.cache_list={PWD}/copyonwrite4.phar.php 6phar.readonly=0 7--EXTENSIONS-- 8phar 9--FILE-- 10<?php 11var_dump(file_exists('phar://' . __DIR__ . '/files/write4.phar/testit.txt')); 12Phar::mount('phar://' . __DIR__ . '/files/write4.phar/testit.txt', 'phar://' . __DIR__ . '/files/write4.phar/tobemounted'); 13var_dump(file_exists('phar://' . __DIR__ . '/files/write4.phar/testit.txt'), file_get_contents('phar://' . __DIR__ . '/files/write4.phar/testit.txt')); 14?> 15--EXPECT-- 16bool(false) 17bool(true) 18string(2) "hi" 19