Back to index

php5  5.3.10
frontcontroller.phar.inc
Go to the documentation of this file.
00001 <?php
00002 @unlink(dirname(__FILE__) . '/frontcontroller.phar.tar');
00003 $a = new Phar(dirname(__FILE__) . '/frontcontroller.phar.tar');
00004 $a['a.php'] = 'hio';
00005 $a['a.jpg'] = 'hio';
00006 $a['a.phps'] = '<?php function hio(){}';
00007 $a['index.php'] = 'here is my index';
00008 $a->setStub('<?php
00009 Phar::webPhar();
00010 echo "oops did not run\n";
00011 var_dump($_ENV, $_SERVER);
00012 __HALT_COMPILER();');
00013 ?>