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:
Moriyoshi Koizumi 2003-08-09 19:29:38 +00:00
parent 42cf1f8b97
commit fe489dcb4f

View File

@ -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;
}