Download src/php/php-src/ext/phar/tests/zip/frontcontroller18.phar.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/zip/frontcontroller18.phar.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/phar/tests/zip/frontcontroller18.phar.phpt
-
curl -L -o frontcontroller18.phar.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/zip/frontcontroller18.phar.phpt
645 Bytes
| --TEST-- | |
| Phar front controller $_SERVER munging failure zip-based | |
| --INI-- | |
| phar.require_hash=0 | |
| --EXTENSIONS-- | |
| phar | |
| zlib | |
| --ENV-- | |
| SCRIPT_NAME=/frontcontroller18.phar.php | |
| REQUEST_URI=/frontcontroller18.phar.php/fronk.gronk | |
| PATH_INFO=/fronk.gronk | |
| --FILE_EXTERNAL-- | |
| files/frontcontroller9.phar.zip | |
| --EXPECTF-- | |
| Fatal error: Uncaught PharException: No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME in %sfrontcontroller18.phar.php:2 | |
| Stack trace: | |
| #0 %sfrontcontroller18.phar.php(2): Phar::mungServer(Array) | |
| #1 {main} | |
| thrown in %sfrontcontroller18.phar.php on line 2 | |