1--TEST--
2Type inference 002: Type inference for INIT_ARRAY with invalid index
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--FILE--
8<?php
9var_dump([[]=>&$x]);
10?>
11--EXPECTF--
12Fatal error: Uncaught TypeError: Illegal offset type in %sinference_002.php:2
13Stack trace:
14#0 {main}
15  thrown in %sinference_002.php on line 2