1--TEST--
2Leak in QM_ASSIGN when unwrapping references (rc=1)
3--FILE--
4<?php
5
6function &ref() {
7    $str = "str";
8    $str .= "str";
9    return $str;
10}
11
12var_dump(true ? ref() : ref());
13var_dump(ref() ?: ref());
14var_dump(ref() ?? ref());
15
16?>
17--EXPECT--
18string(6) "strstr"
19string(6) "strstr"
20string(6) "strstr"
21