Download src/php/php-src/Zend/tests/assert/bug70293.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/assert/bug70293.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/assert/bug70293.phpt
-
curl -L -o bug70293.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/assert/bug70293.phpt
184 Bytes
| --TEST-- | |
| Crash with specific assertions and zend.assertions=-1 | |
| --INI-- | |
| zend.assertions=-1 | |
| --FILE-- | |
| function f() { | |
| assert(@$a ?: 1); | |
| echo "OK"; | |
| }; | |
| f(); | |
| --EXPECT-- | |
| OK | |