Download src/php/php-src/sapi/cli/tests/025.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/025.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cli/tests/025.phpt
-
curl -L -o 025.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/025.phpt
315 Bytes
| --TEST-- | |
| CLI php -i extension_dir | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| if (substr(PHP_OS, 0, 3) == 'WIN') { | |
| die ("skip not for Windows"); | |
| } | |
| --FILE-- | |
| $php = getenv('TEST_PHP_EXECUTABLE_ESCAPED'); | |
| $output = `$php -n -i`; | |
| var_dump(str_contains($output, "extension_dir => ")); | |
| --EXPECT-- | |
| bool(true) | |