Download src/php/php-src/tests/lang/008.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/lang/008.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/lang/008.phpt
-
curl -L -o 008.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/lang/008.phpt
188 Bytes
| --TEST-- | |
| Testing recursive function | |
| --FILE-- | |
| function Test() | |
| { | |
| static $a=1; | |
| echo "$a "; | |
| $a++; | |
| if($a<10): Test(); endif; | |
| } | |
| Test(); | |
| --EXPECT-- | |
| 1 2 3 4 5 6 7 8 9 | |