Annotation of embedaddon/php/ext/phar/tests/files/frontcontroller14.phar, revision 1.1.1.1

1.1       misho       1: <?php
                      2: function s($a)
                      3: {
                      4:     return "/html/index.php";
                      5: }
                      6: Phar::interceptFileFuncs();
                      7: Phar::mungServer(array("PHP_SELF", "REQUEST_URI"));
                      8: Phar::webPhar("whatever", "/html/index.php", null, array(), "s");
                      9: echo "oops did not run\n";
                     10: var_dump($_ENV, $_SERVER);
                     11: __HALT_COMPILER(); ?>
                     12: <&&html/index.phpPkJP>P&<?php
                     13: var_dump($_SERVER[b"PATH_INFO"]);
                     14: var_dump($_SERVER[b"PATH_TRANSLATED"]);
                     15: &ў5ȏnh1>GBMB

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