Download src/php/php-src/Zend/tests/errmsg/errmsg_024.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_024.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/errmsg/errmsg_024.phpt
-
curl -L -o errmsg_024.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/errmsg/errmsg_024.phpt
216 Bytes
| --TEST-- | |
| No more errmsg: can now change initial value of property | |
| --FILE-- | |
| class test1 { | |
| static protected $var = 1; | |
| } | |
| class test extends test1 { | |
| static $var = 10; | |
| } | |
| echo "Done\n"; | |
| --EXPECT-- | |
| Done | |