Back to index

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