Download src/php/php-src/Zend/tests/errmsg/errmsg_018.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_018.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/errmsg/errmsg_018.phpt
-
curl -L -o errmsg_018.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_018.phpt
253 Bytes
| --TEST-- | |
| errmsg: static abstract function | |
| --FILE-- | |
| class test { | |
| static abstract function foo (); | |
| } | |
| echo "Done\n"; | |
| --EXPECTF-- | |
| Fatal error: Class test declares abstract method foo() and must therefore be declared abstract in %s on line %d | |