Download src/php/php-src/Zend/tests/errmsg/errmsg_021.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_021.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/errmsg/errmsg_021.phpt
-
curl -L -o errmsg_021.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_021.phpt
237 Bytes
| --TEST-- | |
| errmsg: disabled class | |
| --INI-- | |
| disable_classes=stdclass | |
| --FILE-- | |
| class test extends stdclass { | |
| } | |
| $t = new test; | |
| echo "Done\n"; | |
| --EXPECTF-- | |
| Warning: test() has been disabled for security reasons in %s on line %d | |
| Done | |