Download src/php/php-src/Zend/tests/constants/constants_008.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constants/constants_008.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/constants/constants_008.phpt
-
curl -L -o constants_008.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constants/constants_008.phpt
211 Bytes
| --TEST-- | |
| Defining constant twice with two different forms | |
| --FILE-- | |
| define('a', 2); | |
| const a = 1; | |
| if (defined('a')) { | |
| print a; | |
| } | |
| --EXPECTF-- | |
| Warning: Constant a already defined in %s on line %d | |
| 2 | |