Annotation of embedaddon/php/ext/phar/tests/tar/files/frontcontroller8.phar.inc, revision 1.1
1.1 ! misho 1: <?php
! 2: @unlink(dirname(__FILE__) . '/frontcontroller8.phar.tar');
! 3: $a = new Phar(dirname(__FILE__) . '/frontcontroller8.phar.tar');
! 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::webPhar("whatever", "index.php", null, array("jpg" => "foo/bar", "phps" => Phar::PHP, "php" => Phar::PHPS));
! 10: echo "oops did not run\n";
! 11: var_dump($_ENV, $_SERVER);
! 12: __HALT_COMPILER();');
! 13: ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>