Download src/php/php-src/sapi/cgi/tests/005.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cgi/tests/005.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cgi/tests/005.phpt
-
curl -L -o 005.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cgi/tests/005.phpt
414 Bytes
| --TEST-- | |
| using invalid combinations of cmdline options | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| --FILE-- | |
| include "include.inc"; | |
| $php = get_cgi_path(); | |
| reset_env_vars(); | |
| var_dump(`$php -n -a -f "wrong"`); | |
| var_dump(`$php -n -f "wrong" -a`); | |
| echo "Done\n"; | |
| --EXPECT-- | |
| string(51) "Interactive mode enabled | |
| No input file specified. | |
| " | |
| string(51) "Interactive mode enabled | |
| No input file specified. | |
| " | |
| Done | |