Download src/php/php-src/sapi/cli/tests/009.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 443 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/009.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cli/tests/009.phpt
-
curl -L -o 009.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/009.phpt
443 Bytes
| --TEST-- | |
| using invalid combinations of cmdline options | |
| --EXTENSIONS-- | |
| readline | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| --FILE-- | |
| $php = getenv('TEST_PHP_EXECUTABLE_ESCAPED'); | |
| var_dump(`$php -n -a -r "echo hello;"`); | |
| var_dump(`$php -n -r "echo hello;" -a`); | |
| echo "Done\n"; | |
| --EXPECT-- | |
| string(57) "Either execute direct code, process stdin or use a file. | |
| " | |
| string(57) "Either execute direct code, process stdin or use a file. | |
| " | |
| Done | |