From: Dmitry Stogov Date: Fri, 28 Dec 2007 09:46:52 +0000 (+0000) Subject: Initialize operand type X-Git-Tag: RELEASE_1_3_1~461 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fa0078a71dd08b3dcde815485a3ecc40288595b;p=php Initialize operand type --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c3a0e5de1b..e807df00fc 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1504,6 +1504,7 @@ void zend_do_begin_dynamic_function_call(znode *function_name, int prefix_len TS Z_TYPE(opline->op1.u.constant) = IS_STRING; Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(function_name->u.constant) - prefix_len; Z_STRVAL(opline->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(function_name->u.constant) + prefix_len, Z_STRLEN(opline->op1.u.constant)); + SET_UNUSED(opline->op2); opline->extended_value = zend_hash_func(Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant) + 1); } else { opline->opcode = ZEND_INIT_FCALL_BY_NAME;