Download src/php/php-src/Zend/tests/exceptions/exception_003.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/exception_003.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/exceptions/exception_003.phpt
-
curl -L -o exception_003.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/exception_003.phpt
193 Bytes
| --TEST-- | |
| Throwing exception in global scope | |
| --FILE-- | |
| throw new Exception(1); | |
| --EXPECTF-- | |
| Fatal error: Uncaught Exception: 1 in %s:%d | |
| Stack trace: | |
| #0 {main} | |
| thrown in %s on line %d | |