1--TEST--
2JIT FETCH_DIM_RW: 001
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8;opcache.jit_debug=257
9--EXTENSIONS--
10opcache
11--FILE--
12<?php
13function foo() {
14    $a[0][0] += 2;
15    return $a[0];
16}
17var_dump(foo());
18?>
19--EXPECTF--
20Warning: Undefined variable $a in %s on line %d
21
22Warning: Undefined array key 0 in %sfetch_dim_rw_001.php on line 3
23
24Warning: Undefined array key 0 in %sfetch_dim_rw_001.php on line 3
25array(1) {
26  [0]=>
27  int(2)
28}
29