Download src/php/php-src/Zend/tests/exceptions/exception_011.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/exception_011.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/exceptions/exception_011.phpt
-
curl -L -o exception_011.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/exceptions/exception_011.phpt
422 Bytes
| --TEST-- | |
| Test exception doesn't cause RSHUTDOWN bypass, variation 0 | |
| --INI-- | |
| zend.assertions=1 | |
| --FILE-- | |
| <?php | |
| define ("XXXXX", 1); | |
| assert(false); | |
| ?> | |
| --EXPECTHEADERS-- | |
| Content-type: text/html; charset=UTF-8 | |
| --EXPECTF-- | |
| Fatal error: Uncaught AssertionError: assert(false) in %sexception_011.php:%d | |
| Stack trace: | |
| #0 %sexception_011.php(%d): assert(false, 'assert(false)') | |
| #1 {main} | |
| thrown in %sexception_011.php on line %d | |