Download src/php/php-src/sapi/cgi/tests/001.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cgi/tests/001.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cgi/tests/001.phpt
-
curl -L -o 001.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cgi/tests/001.phpt
326 Bytes
| --TEST-- | |
| version string | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| --FILE-- | |
| include "include.inc"; | |
| $php = get_cgi_path(); | |
| reset_env_vars(); | |
| var_dump(`$php -n -v`); | |
| echo "Done\n"; | |
| --EXPECTF-- | |
| string(%d) "PHP %s (cgi%s (built: %s | |
| Copyright (c) The PHP Group | |
| %AZend Engine v%s, Copyright (c) Zend Technologies | |
| " | |
| Done | |