Download src/php/php-src/Zend/tests/exceptions/bug50005.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/bug50005.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/exceptions/bug50005.phpt
-
curl -L -o bug50005.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/bug50005.phpt
330 Bytes
| --TEST-- | |
| Bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) | |
| --FILE-- | |
| class a extends exception { | |
| public function __construct() { | |
| $this->file = ""; | |
| } | |
| } | |
| throw new a; | |
| --EXPECTF-- | |
| Fatal error: Uncaught a in :%d | |
| Stack trace: | |
| #0 {main} | |
| thrown in Unknown on line %d | |