1--TEST--
2COALESCE optimization
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--FILE--
8<?php
9function t() {
10    $y[" $a "] ??= var_dump();
11}
12t();
13?>
14--EXPECTF--
15Warning: Undefined variable $a in %scoalesce_002.php on line 3
16
17Fatal error: Uncaught ArgumentCountError: var_dump() expects at least 1 argument, 0 given in %scoalesce_002.php:3
18Stack trace:
19#0 %scoalesce_002.php(3): var_dump()
20#1 %scoalesce_002.php(5): t()
21#2 {main}
22  thrown in %scoalesce_002.php on line 3