Download src/php/php-src/sapi/cli/tests/020.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/020.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/cli/tests/020.phpt
-
curl -L -o 020.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/cli/tests/020.phpt
461 Bytes
| --TEST-- | |
| CLI php --ri | |
| --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 --ri this_extension_does_not_exist_568537753423`; | |
| echo `$php -n --ri standard`; | |
| echo "\nDone\n"; | |
| --EXPECTF-- | |
| Extension 'this_extension_does_not_exist_568537753423' not present. | |
| standard | |
| %a | |
| Directive => Local Value => Master Value | |
| %a | |
| Done | |