1--TEST--
2JIT ASSIGN_DIM: 004
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9class Test implements ArrayAccess {
10    function offsetExists($x): bool {}
11    function offsetGet($x): mixed {}
12    function offsetSet($x, $y): void {
13        echo "offsetSet($x, $y)\n";
14    }
15    function offsetUnset($x): void {}
16}
17function test() {
18    $obj = new Test;
19    $obj[$undef] = 1;
20}
21test();
22?>
23--EXPECTF--
24Warning: Undefined variable $undef in %s on line %d
25offsetSet(, 1)
26