1--TEST--
2GH-11580: assert() with ??= operator can lead to use-of-uninitialized-value
3--INI--
4zend.assertions=0
5--FILE--
6<?php
7assert(y)[y] ??= y;
8?>
9--EXPECTF--
10Fatal error: Uncaught Error: Undefined constant "y" in %s:%d
11Stack trace:
12#0 {main}
13 thrown in %s on line %d
14