1--TEST--
2oss-fuzz #66519: Fix RC inference narrowing for ASSIGN_OBJ
3--EXTENSIONS--
4opcache
5--INI--
6opcache.enable_cli=1
7--FILE--
8<?php
9function test() {
10    for (;;) {
11        [] ?? $oj->y = y;
12        $oj = new stdClass;
13    }
14}
15?>
16===DONE===
17--EXPECT--
18===DONE===
19