1--TEST--
2Phar: copy-on-write test 11 [cache_list]
3--INI--
4default_charset=UTF-8
5phar.cache_list={PWD}/copyonwrite11.phar.php
6phar.readonly=0
7--SKIPIF--
8<?php if (!extension_loaded("phar")) die("skip"); ?>
9--FILE_EXTERNAL--
10files/write11.phar
11--EXPECTF--
12string(174) "<?php
13$p = new Phar(__FILE__);
14var_dump($p->getStub());
15$p2 = new Phar(__FILE__);
16$p->setDefaultStub();
17echo strlen($p2->getStub()),"\n";
18echo "ok\n";
19__HALT_COMPILER(); ?>
20"
216675
22ok