blob: 5d9728cb194b74e09cbd6fd891117467b04d9a2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
@unlink(dirname(__FILE__) . '/frontcontroller4.phar');
$a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar');
$a['a.php'] = 'hio';
$a['a.jpg'] = 'hio';
$a['a.phps'] = '<?php function hio(){}';
$a->setStub('<?php
Phar::webPhar("whatever", "index.php", null, array(), array("/hi" => true));
echo "oops did not run\n";
var_dump($_ENV, $_SERVER);
__HALT_COMPILER();');
?>
|