Download src/php/php-src/Zend/tests/assert/expect_002.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/assert/expect_002.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/assert/expect_002.phpt
-
curl -L -o expect_002.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/assert/expect_002.phpt
332 Bytes
| --TEST-- | |
| test failing assertion | |
| --INI-- | |
| zend.assertions=1 | |
| assert.exception=1 | |
| --FILE-- | |
| assert(false); | |
| var_dump(true); | |
| --EXPECTF-- | |
| Fatal error: Uncaught AssertionError: assert(false) in %sexpect_002.php:%d | |
| Stack trace: | |
| #0 %sexpect_002.php(%d): assert(false, 'assert(false)') | |
| #1 {main} | |
| thrown in %sexpect_002.php on line %d | |