Download src/php/php-src/Zend/tests/attributes/deprecated/message_004.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/attributes/deprecated/message_004.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/attributes/deprecated/message_004.phpt
-
curl -L -o message_004.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/attributes/deprecated/message_004.phpt
291 Bytes
| --TEST-- | |
| : Message with value unknown at compile time. | |
| --FILE-- | |
| define('MESSAGE', 'value-' . (random_int(1, 2) == 1 ? 'a' : 'b')); | |
| (MESSAGE) | |
| function test() { | |
| } | |
| test(); | |
| --EXPECTF-- | |
| Deprecated: Function test() is deprecated, value-%c in %s on line %d | |