Download src/php/php-src/Zend/tests/constants/constants_007.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constants/constants_007.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/constants/constants_007.phpt
-
curl -L -o constants_007.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constants/constants_007.phpt
227 Bytes
| --TEST-- | |
| Testing const names | |
| --FILE-- | |
| const a = 'a'; | |
| const A = 'b'; | |
| class a { | |
| const a = 'c'; | |
| const A = 'd'; | |
| } | |
| var_dump(a, A, a::a, a::A); | |
| --EXPECT-- | |
| string(1) "a" | |
| string(1) "b" | |
| string(1) "c" | |
| string(1) "d" | |