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