Annotation of embedaddon/php/ext/phar/tests/tar/files/frontcontroller2.phar.inc, revision 1.1.1.1
1.1 misho 1: <?php
2: @unlink(dirname(__FILE__) . '/frontcontroller2.phar.tar');
3: $a = new Phar(dirname(__FILE__) . '/frontcontroller2.phar.tar');
4: $a['a.php'] = 'hio';
5: $a['a.jpg'] = 'hio';
6: $a['a.phps'] = '<?php function hio(){}';
7: $a->setStub('<?php
8: Phar::webPhar("whatever", "a.php");
9: echo "oops did not run\n";
10: var_dump($_ENV, $_SERVER);
11: __HALT_COMPILER();');
12: ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>