Download src/php/php-src/Zend/tests/exceptions/exception_006.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/exception_006.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/exceptions/exception_006.phpt
-
curl -L -o exception_006.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/exception_006.phpt
189 Bytes
| --TEST-- | |
| Trying to throw a non-object | |
| --FILE-- | |
| throw 1; | |
| --EXPECTF-- | |
| Fatal error: Uncaught Error: Can only throw objects in %s:%d | |
| Stack trace: | |
| #0 {main} | |
| thrown in %s on line %d | |