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