From: Moriyoshi Koizumi Date: Sat, 9 Aug 2003 19:29:38 +0000 (+0000) Subject: Fix segfault when a referenced parameter is specified with typehint. X-Git-Tag: RELEASE_0_7~764 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe489dcb4f817c1a2104e9ee76ab00c3a6c6e107;p=php 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. --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index e1455576ed..5e486d7a2f 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -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; }