Back to index

php5  5.3.10
frontcontroller16.phar.inc
Go to the documentation of this file.
00001 <?php
00002 @unlink(dirname(__FILE__) . '/frontcontroller16.phar');
00003 $a = new Phar(dirname(__FILE__) . '/frontcontroller16.phar');
00004 $a['index.php'] = '<?php
00005 echo "hi";
00006 ';
00007 $a->setStub('<?php
00008 try {
00009 Phar::webPhar("test.phar", "/index.php", null, array(), array("fail", "here"));
00010 } catch (Exception $e) {
00011 die($e->getMessage() . "\n");
00012 }
00013 echo "oops did not run\n";
00014 var_dump($_ENV, $_SERVER);
00015 __HALT_COMPILER();');
00016 ?>