Download src/php/php-src/Zend/tests/attributes/constants/not_repeatable-internal.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/attributes/constants/not_repeatable-internal.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/attributes/constants/not_repeatable-internal.phpt
-
curl -L -o not_repeatable-internal.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/attributes/constants/not_repeatable-internal.phpt
235 Bytes
| --TEST-- | |
| Validation of attribute repetition (not allowed; internal attribute) | |
| --FILE-- | |
| const MY_CONST = true; | |
| --EXPECTF-- | |
| Fatal error: Attribute "Deprecated" must not be repeated in %s on line %d | |