1<?php
2@unlink(dirname(__FILE__) . '/frontcontroller19.phar');
3$a = new Phar(dirname(__FILE__) . '/frontcontroller19.phar');
4$a['start/index.php'] = '<?php
5echo "start/index.php\n";
6include "./another.php";
7';
8$a['start/another.php'] = '<?php
9echo "start/another.php\n";
10include "../another.php";
11?>';
12$a['another.php'] = '<?php
13echo "another.php\n";
14?>';
15$a->setStub('<?php
16set_include_path("phar://" . __FILE__);
17try {
18Phar::webPhar("test.phar", "/start/index.php");
19} catch (Exception $e) {
20die($e->getMessage() . "\n");
21}
22echo "oops did not run\n";
23var_dump($_ENV, $_SERVER);
24__HALT_COMPILER();');
25?>
26