Download src/php/php-src/ext/opcache/tests/opt/inference_007.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/inference_007.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/opt/inference_007.phpt
-
curl -L -o inference_007.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/inference_007.phpt
269 Bytes
| --TEST-- | |
| Type inference 007: Incorrect array key type inference | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.optimization_level=-1 | |
| --FILE-- | |
| function y() { | |
| for(;;) { | |
| s($array[]); | |
| $array = array(""=>""); | |
| } | |
| } | |
| DONE | |
| --EXPECT-- | |
| DONE | |