Download src/php/php-src/Zend/tests/errmsg/errmsg_027.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_027.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/errmsg/errmsg_027.phpt
-
curl -L -o errmsg_027.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_027.phpt
242 Bytes
| --TEST-- | |
| errmsg: class declarations may not be nested | |
| --FILE-- | |
| class test { | |
| function foo() { | |
| class test2 { | |
| } | |
| } | |
| } | |
| echo "Done\n"; | |
| --EXPECTF-- | |
| Fatal error: Class declarations may not be nested in %s on line %d | |