Download src/php/php-src/ext/fileinfo/tests/bug77961.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/fileinfo/tests/bug77961.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/fileinfo/tests/bug77961.phpt
-
curl -L -o bug77961.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/fileinfo/tests/bug77961.phpt
343 Bytes
| --TEST-- | |
| Bug #77961 (finfo_open crafted magic parsing SIGABRT) | |
| --EXTENSIONS-- | |
| fileinfo | |
| --FILE-- | |
| finfo_open(FILEINFO_NONE, __DIR__ . '/bug77961.magic'); | |
| --EXPECTF-- | |
| Warning: finfo_open(): Expected numeric type got `indirect' in %s on line %d | |
| Warning: finfo_open(): Failed to load magic database at "%sbug77961.magic" in %s on line %d | |