<?php
$cls = new _ZendTestMagicCallForward();
$fusion = $cls;
function &foo() {
}
$fusion->foo()->foo()->{$foo->bar()} ??= 42;
php: Zend/zend_vm_execute.h:3545: int ZEND_CALL_TRAMPOLINE_SPEC_HANDLER(zend_execute_data *): Assertion `(call->func->common.fn_flags & (1 << 12)) ? (zval_get_type(&(*(ret))) == 10) : !(zval_get_type(&(*(ret))) == 10)' failed.
Aborted (core dumped)