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