Download src/php/php-src/ext/reflection/tests/016.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/reflection/tests/016.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/reflection/tests/016.phpt
-
curl -L -o 016.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/reflection/tests/016.phpt
313 Bytes
| --TEST-- | |
| ReflectionExtension::getDependencies() | |
| --EXTENSIONS-- | |
| dom | |
| --FILE-- | |
| $ext = new ReflectionExtension("dom"); | |
| $deps = $ext->getDependencies(); | |
| var_dump($deps); | |
| --EXPECT-- | |
| array(3) { | |
| ["libxml"]=> | |
| string(8) "Required" | |
| ["lexbor"]=> | |
| string(8) "Required" | |
| ["domxml"]=> | |
| string(9) "Conflicts" | |
| } | |