1--TEST-- 2Phar: copy-on-write test 12 [cache_list] 3--INI-- 4default_charset=UTF-8 5phar.cache_list={PWD}/copyonwrite12.phar.php 6phar.readonly=0 7detect_unicode=0 8--SKIPIF-- 9<?php if (!extension_loaded("phar")) die("skip"); ?> 10--FILE_EXTERNAL-- 11files/write12.phar 12--EXPECTF-- 13array(2) { 14 ["hash"]=> 15 string(40) "0163F471460EA74F7636268D28289BF5A1E8BD72" 16 ["hash_type"]=> 17 string(5) "SHA-1" 18} 19array(2) { 20 ["hash"]=> 21 string(32) "%s" 22 ["hash_type"]=> 23 string(3) "MD5" 24} 25ok 26