Download src/php/php-src/Zend/tests/enum/__sleep.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 203 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/enum/__sleep.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/enum/__sleep.phpt
-
curl -L -o __sleep.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/enum/__sleep.phpt
203 Bytes
| --TEST-- | |
| Enum __sleep | |
| --FILE-- | |
| enum Foo { | |
| case Bar; | |
| public function __sleep(): array { | |
| } | |
| } | |
| --EXPECTF-- | |
| Fatal error: Enum Foo cannot include magic method __sleep in %s on line %d | |