Download src/php/php-src/Zend/tests/declare/bug69092.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/declare/bug69092.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/declare/bug69092.phpt
-
curl -L -o bug69092.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/declare/bug69092.phpt
318 Bytes
| --TEST-- | |
| Bug #69092 (Declare Encoding Compile Check Wrong) | |
| --EXTENSIONS-- | |
| mbstring | |
| --INI-- | |
| zend.multibyte=On | |
| --FILE-- | |
| echo "Hi"; | |
| function foo() { | |
| declare(encoding="utf-8"); | |
| } | |
| echo "Bye" | |
| --EXPECTF-- | |
| Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line %d | |