1--TEST-- 2Bug #76752 (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in _get_zval_ptr_tmp failed) 3--FILE-- 4<?php 5$obj = new stdClass; 6$val = 'foo'; 7$obj->prop = &$val; 8var_dump($obj->prop ?? []); 9?> 10--EXPECT-- 11string(3) "foo" 12