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