Download src/php/php-src/tests/lang/012.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/lang/012.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/lang/012.phpt
-
curl -L -o 012.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/lang/012.phpt
200 Bytes
| --TEST-- | |
| Testing stack after early function return | |
| --FILE-- | |
| function F () { | |
| if(1) { | |
| return("Hello"); | |
| } | |
| } | |
| $i=0; | |
| while ($i<2) { | |
| echo F(); | |
| $i++; | |
| } | |
| --EXPECT-- | |
| HelloHello | |