Download src/php/php-src/Zend/tests/grammar/regression_005.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/grammar/regression_005.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/grammar/regression_005.phpt
-
curl -L -o regression_005.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/grammar/regression_005.phpt
257 Bytes
| --TEST-- | |
| Test possible constant naming regression on procedural scope | |
| --FILE-- | |
| class Obj | |
| { | |
| const return = 'yep'; | |
| } | |
| const return = 'nope'; | |
| --EXPECTF-- | |
| Parse error: syntax error, unexpected token "return", expecting identifier in %s on line %d | |