1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 23:23:03 +02:00

Initialize operand type

This commit is contained in:
Dmitry Stogov
2007-12-28 09:46:52 +00:00
parent b2e6a56e5c
commit 2fa0078a71

View File

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