Annotation of embedaddon/php/ext/phar/tests/files/frontcontroller18.phar.inc, revision 1.1

1.1     ! misho       1: <?php
        !             2: @unlink(dirname(__FILE__) . '/frontcontroller18.phar');
        !             3: $a = new Phar(dirname(__FILE__) . '/frontcontroller18.phar');
        !             4: $a['index.php'] = '<?php
        !             5: echo "hi";
        !             6: ';
        !             7: $a->setStub('<?php
        !             8: function s($a)
        !             9: {
        !            10: }
        !            11: try {
        !            12: Phar::webPhar("test.phar", "/index.php", null, array(), "s");
        !            13: } catch (Exception $e) {
        !            14: die($e->getMessage() . "\n");
        !            15: }
        !            16: echo "oops did not run\n";
        !            17: var_dump($_ENV, $_SERVER);
        !            18: __HALT_COMPILER();');
        !            19: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>