Download src/php/php-src/ext/phar/tests/032.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/032.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/phar/tests/032.phpt
-
curl -L -o 032.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/032.phpt
394 Bytes
| --TEST-- | |
| Phar: require hash | |
| --EXTENSIONS-- | |
| phar | |
| --INI-- | |
| phar.require_hash=1 | |
| --FILE-- | |
| $pharconfig = 0; | |
| require_once 'files/phar_oo_test.inc'; | |
| try { | |
| Phar::loadPhar($fname); | |
| } catch (Exception $e) { | |
| echo $e->getMessage(); | |
| } | |
| ===DONE=== | |
| --CLEAN-- | |
| unlink(__DIR__ . '/files/032.phar.php'); | |
| __halt_compiler(); | |
| --EXPECTF-- | |
| phar "%s032.phar.php" does not have a signature===DONE=== | |