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