Back to index

php5  5.3.10
frontcontroller9.phar.inc
Go to the documentation of this file.
00001 <?php
00002 @unlink(dirname(__FILE__) . '/frontcontroller9.phar.tar');
00003 $a = new Phar(dirname(__FILE__) . '/frontcontroller9.phar.tar');
00004 $a['a.phps'] = 'hio1';
00005 $a['a.jpg'] = 'hio2';
00006 $a['a.php'] = '<?php function hio(){}';
00007 $a['fronk.gronk'] = 'hio3';
00008 $a->setStub('<?php
00009 Phar::mungServer(array());
00010 Phar::webPhar("whatever", "index.php", null, array("jpg" => "foo/bar", "phps" => Phar::PHP, "php" => Phar::PHPS));
00011 echo "oops did not run\n";
00012 var_dump($_ENV, $_SERVER);
00013 __HALT_COMPILER();');
00014 ?>