Back to index

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