Download src/php/php-src/sapi/cli/tests/018.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/018.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cli/tests/018.phpt
-
curl -L -o 018.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/018.phpt
297 Bytes
| --TEST-- | |
| CLI php -m | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| if (substr(PHP_OS, 0, 3) == 'WIN') { | |
| die ("skip not for Windows"); | |
| } | |
| --FILE-- | |
| $php = getenv('TEST_PHP_EXECUTABLE_ESCAPED'); | |
| echo `$php -n -m`; | |
| echo "Done\n"; | |
| --EXPECTF-- | |
| [PHP Modules] | |
| %a | |
| pcre | |
| %a | |
| [Zend Modules] | |
| %aDone | |