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