Annotation of embedaddon/php/ext/phar/tests/cache_list/files/write9.phar.inc, revision 1.1.1.1
1.1 misho 1: <?php
2:
3: $fname = dirname(__FILE__) . '/write9.phar';
4: @unlink($fname);
5:
6: $phar = new Phar($fname);
7: $phar->setStub('<?php
8: $p = new Phar(__FILE__);
9: var_dump($p->getStub());
10: $p2 = new Phar(__FILE__);
11: $p->setStub("<?php __HALT"."_COMPILER();");
12: echo $p2->getStub(),"\n";
13: echo "ok\n";
14: __HALT_COMPILER();
15: ?>');
16: $phar['test.txt'] = "hi
17: ";
18: ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>