Download src/php/php-src/ext/phar/tests/zip/frontcontroller12.phar.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 697 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/zip/frontcontroller12.phar.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/phar/tests/zip/frontcontroller12.phar.phpt
-
curl -L -o frontcontroller12.phar.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/zip/frontcontroller12.phar.phpt
697 Bytes
| --TEST-- | |
| Phar front controller mime type unknown int zip-based | |
| --INI-- | |
| default_charset=UTF-8 | |
| phar.require_hash=0 | |
| --EXTENSIONS-- | |
| phar | |
| zlib | |
| --ENV-- | |
| SCRIPT_NAME=/frontcontroller12.phar.php | |
| REQUEST_URI=/frontcontroller12.phar.php/a.php | |
| PATH_INFO=/a.php | |
| --FILE_EXTERNAL-- | |
| files/frontcontroller6.phar.zip | |
| --EXPECTHEADERS-- | |
| Content-type: text/html; charset=UTF-8 | |
| --EXPECTF-- | |
| Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed in %sfrontcontroller12.phar.php:2 | |
| Stack trace: | |
| #0 %sfrontcontroller12.phar.php(2): Phar::webPhar('whatever', 'index.php', NULL, Array) | |
| #1 {main} | |
| thrown in %sfrontcontroller12.phar.php on line 2 | |