frontcontroller8.phar.inc 456 B

12345678910111213
  1. <?php
  2. @unlink(dirname(__FILE__) . '/frontcontroller8.phar.tar');
  3. $a = new Phar(dirname(__FILE__) . '/frontcontroller8.phar.tar');
  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. ?>