Download src/php/php-src/ext/opcache/tests/bug66474.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/bug66474.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/bug66474.phpt
-
curl -L -o bug66474.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/bug66474.phpt
311 Bytes
| --TEST-- | |
| Bug #66474 (Optimizer bug in constant string to boolean conversion) | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.optimization_level=-1 | |
| opcache.file_update_protection=0 | |
| --EXTENSIONS-- | |
| opcache | |
| --FILE-- | |
| function foo() { | |
| $speed = 'slow' || 'fast'; | |
| } | |
| foo(); | |
| echo "ok\n"; | |
| --EXPECT-- | |
| ok | |