summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/files/frontcontroller17.phar.inc
blob: 715479552a2ba23888503d1ae865c7ca4c09d145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
@unlink(dirname(__FILE__) . '/frontcontroller17.phar');
$a = new Phar(dirname(__FILE__) . '/frontcontroller17.phar');
$a['index.php'] = '<?php
echo "hi";
';
$a->setStub('<?php
try {
Phar::webPhar("test.phar", "/index.php", null, array(), function() { throw new Exception; });
} catch (Exception $e) {
die($e->getMessage() . "\n");
}
echo "oops did not run\n";
var_dump($_ENV, $_SERVER);
__HALT_COMPILER();');
?>