mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
12 lines
230 B
Plaintext
12 lines
230 B
Plaintext
|
--TEST--
|
||
|
Bug #76752 (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in _get_zval_ptr_tmp failed)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$obj = new stdClass;
|
||
|
$val = 'foo';
|
||
|
$obj->prop = &$val;
|
||
|
var_dump($obj->prop ?? []);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
string(3) "foo"
|