Download src/php/php-src/tests/output/bug74725.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/output/bug74725.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/output/bug74725.phpt
-
curl -L -o bug74725.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/output/bug74725.phpt
442 Bytes
| --TEST-- | |
| Bug #74725: html_errors=1 breaks unhandled exceptions | |
| --FILE-- | |
| ini_set('display_errors', 1); | |
| ini_set('html_errors', 1); | |
| ini_set('default_charset', "Windows-1251"); | |
| throw new Exception("\xF2\xE5\xF1\xF2"); | |
| // Note to test reader: this file is in Windows-1251 (vim: `:e ++enc=cp1251`) | |
| --EXPECTF-- | |
| <br /> | |
| <b>Fatal error</b>: Uncaught Exception: ���� in %s:5 | |
| Stack trace: | |
| #0 {main} | |
| thrown in <b>%s</b> on line <b>5</b><br /> | |