Download src/php/php-src/ext/opcache/tests/opt/inference_005.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/inference_005.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/opt/inference_005.phpt
-
curl -L -o inference_005.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/inference_005.phpt
293 Bytes
| --TEST-- | |
| Type inference 005: Use MAY_BE_NULL result (insted of empty) for ASSIGN_DIM with invalid arguments | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.optimization_level=-1 | |
| --FILE-- | |
| function foo() { | |
| $a = $r[] = $r = [] & $y; | |
| +list(&$y) = $a; | |
| } | |
| DONE | |
| --EXPECT-- | |
| DONE | |