Download src/php/php-src/sapi/cgi/tests/007.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cgi/tests/007.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cgi/tests/007.phpt
-
curl -L -o 007.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cgi/tests/007.phpt
365 Bytes
| --TEST-- | |
| invalid arguments and error messages | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| --FILE-- | |
| include "include.inc"; | |
| $php = get_cgi_path(); | |
| reset_env_vars(); | |
| var_dump(`"$php" -n -f some.php -f some.php`); | |
| var_dump(`"$php" -n -s -w -l`); | |
| --EXPECT-- | |
| string(25) "No input file specified. | |
| " | |
| string(49) "No syntax errors detected in Standard input code | |
| " | |