Download src/php/php-src/Zend/tests/errmsg/errmsg_037.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 210 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_037.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/errmsg/errmsg_037.phpt
-
curl -L -o errmsg_037.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_037.phpt
210 Bytes
| --TEST-- | |
| errmsg: properties cannot be abstract | |
| --FILE-- | |
| class test { | |
| abstract $var = 1; | |
| } | |
| echo "Done\n"; | |
| --EXPECTF-- | |
| Fatal error: Only hooked properties may be declared abstract in %s on line %d | |