Annotation of embedaddon/php/ext/phar/tests/files/frontcontroller9.phar.inc, revision 1.1
1.1 ! misho 1: <?php
! 2: @unlink(dirname(__FILE__) . '/frontcontroller9.phar');
! 3: $a = new Phar(dirname(__FILE__) . '/frontcontroller9.phar');
! 4: $a['a.phps'] = 'hio1';
! 5: $a['a.jpg'] = 'hio2';
! 6: $a['a.php'] = '<?php function hio(){}';
! 7: $a['fronk.gronk'] = 'hio3';
! 8: $a->setStub('<?php
! 9: Phar::mungServer(array());
! 10: Phar::webPhar("whatever", "index.php", null, array("jpg" => "foo/bar", "phps" => Phar::PHP, "php" => Phar::PHPS));
! 11: echo "oops did not run\n";
! 12: var_dump($_ENV, $_SERVER);
! 13: __HALT_COMPILER();');
! 14: ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>