Download src/php/php-src/ext/reflection/tests/018.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/reflection/tests/018.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/reflection/tests/018.phpt
-
curl -L -o 018.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/reflection/tests/018.phpt
241 Bytes
| --TEST-- | |
| Reflection::getModifierNames | |
| --FILE-- | |
| var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED)); | |
| --EXPECT-- | |
| array(2) { | |
| [0]=> | |
| string(5) "final" | |
| [1]=> | |
| string(9) "protected" | |
| } | |