Annotation of embedaddon/php/ext/phar/tests/files/frontcontroller16.phar.inc, revision 1.1
1.1 ! misho 1: <?php
! 2: @unlink(dirname(__FILE__) . '/frontcontroller16.phar');
! 3: $a = new Phar(dirname(__FILE__) . '/frontcontroller16.phar');
! 4: $a['index.php'] = '<?php
! 5: echo "hi";
! 6: ';
! 7: $a->setStub('<?php
! 8: try {
! 9: Phar::webPhar("test.phar", "/index.php", null, array(), array("fail", "here"));
! 10: } catch (Exception $e) {
! 11: die($e->getMessage() . "\n");
! 12: }
! 13: echo "oops did not run\n";
! 14: var_dump($_ENV, $_SERVER);
! 15: __HALT_COMPILER();');
! 16: ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>