Download src/php/php-src/Zend/tests/enum/__method__.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/enum/__method__.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/enum/__method__.phpt
-
curl -L -o __method__.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/enum/__method__.phpt
205 Bytes
| --TEST-- | |
| Enum __METHOD__ | |
| --FILE-- | |
| enum Foo { | |
| case Bar; | |
| public function printMethod() | |
| { | |
| echo __METHOD__ . "\n"; | |
| } | |
| } | |
| Foo::Bar->printMethod(); | |
| --EXPECT-- | |
| Foo::printMethod | |