mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
Fix segfault when a referenced parameter is specified with typehint.
Result of the node will never be used because verify_instanceof handler has been eliminated.
This commit is contained in:
parent
42cf1f8b97
commit
fe489dcb4f
@ -1079,8 +1079,8 @@ void zend_do_receive_arg(zend_uchar op, znode *var, znode *offset, znode *initia
|
||||
} else {
|
||||
cur_arg_info->class_name = NULL;
|
||||
cur_arg_info->class_name_len = 0;
|
||||
opline->result.u.EA.type |= EXT_TYPE_UNUSED;
|
||||
}
|
||||
opline->result.u.EA.type |= EXT_TYPE_UNUSED;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user