1--TEST--
2JIT FETCH_DIM_R: 012
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10function foo() {
11	$a = 0; $a1 = []; $a2 = [];
12    for($i = 0; $i < 6; $i++) {
13        $a1[] = &$y;
14        $a2["$a1[$a] "] = $a += $y;
15    }
16    var_dump($a1, $a2);
17}
18foo();
19?>
20--EXPECT--
21array(6) {
22  [0]=>
23  &NULL
24  [1]=>
25  &NULL
26  [2]=>
27  &NULL
28  [3]=>
29  &NULL
30  [4]=>
31  &NULL
32  [5]=>
33  &NULL
34}
35array(1) {
36  [" "]=>
37  int(0)
38}
39