blob: dfe43b3c29a88e908f52b5bf89e4d4109f9189b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Null coalesce assign with memoized constant operand that is later interned (OSS-Fuzz #17903)
--FILE--
<?php
$foo[__DIR__] ??= 42;
var_dump($foo);
?>
--EXPECTF--
array(1) {
["%s"]=>
int(42)
}
|