Download src/php/php-src/tests/func/008.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/008.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/func/008.phpt
-
curl -L -o 008.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/008.phpt
237 Bytes
| --TEST-- | |
| Test for buffering in core functions with implicit flush off | |
| --INI-- | |
| implicit_flush=0 | |
| --FILE-- | |
| $res = var_export("foo1"); | |
| echo "\n"; | |
| $res = var_export("foo2", TRUE); | |
| echo "\n"; | |
| echo $res."\n"; | |
| --EXPECT-- | |
| 'foo1' | |
| 'foo2' | |