Download src/php/php-src/ext/opcache/tests/001_cli.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/001_cli.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/001_cli.phpt
-
curl -L -o 001_cli.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/001_cli.phpt
402 Bytes
| --TEST-- | |
| 001: O+ works in CLI | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.file_cache_only=0 | |
| --EXTENSIONS-- | |
| opcache | |
| --FILE-- | |
| $config = opcache_get_configuration(); | |
| $status = opcache_get_status(); | |
| var_dump($config["directives"]["opcache.enable"]); | |
| var_dump($config["directives"]["opcache.enable_cli"]); | |
| var_dump($status["opcache_enabled"]); | |
| --EXPECT-- | |
| bool(true) | |
| bool(true) | |
| bool(true) | |