Download src/php/php-src/tests/output/ob_015.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/output/ob_015.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/output/ob_015.phpt
-
curl -L -o ob_015.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/output/ob_015.phpt
243 Bytes
| --TEST-- | |
| output buffering - failure | |
| --FILE-- | |
| ob_start("str_rot13", 1); | |
| try { | |
| echo "foo\n"; | |
| } catch (TypeError $e) { | |
| echo $e->getMessage(), "\n"; | |
| } | |
| ob_end_flush(); | |
| --EXPECT-- | |
| foo | |
| str_rot13() expects exactly 1 argument, 2 given | |