1--TEST--
2Type inference 005: Use MAY_BE_NULL result (insted of empty) for ASSIGN_DIM with invalid arguments
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--FILE--
8<?php
9function foo() {
10    $a = $r[] = $r = [] & $y;
11    +list(&$y) = $a;
12}
13?>
14DONE
15--EXPECT--
16DONE
17