Download src/php/php-src/ext/opcache/tests/opt/inference_010.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/inference_010.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/opt/inference_010.phpt
-
curl -L -o inference_010.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/inference_010.phpt
313 Bytes
| --TEST-- | |
| Type inference 010: FRTCH_DIM_W | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.optimization_level=-1 | |
| --FILE-- | |
| function foo() { | |
| $x = false; | |
| $x[] = &$y; | |
| } | |
| foo(); | |
| DONE | |
| --EXPECTF-- | |
| Deprecated: Automatic conversion of false to array is deprecated in %sinference_010.php on line 4 | |
| DONE | |