From 2787a746f4b621b23ed053430d6298f364cbe47f Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 6 Jul 2000 22:21:24 +0000 Subject: [PATCH] - One dumb bug in my latest patch --- Zend/zend_compile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 3d8e576e81..5b9612b123 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -856,7 +856,9 @@ void do_begin_dynamic_function_call(znode *function_name CLS_DC) } else { zend_op *opline; - do_end_variable_parse(BP_VAR_R, 0 CLS_CC); + if (function_name->op_type != IS_CONST) { + do_end_variable_parse(BP_VAR_R, 0 CLS_CC); + } opline = get_next_op(CG(active_op_array) CLS_CC); opline->opcode = ZEND_INIT_FCALL_BY_NAME; -- 2.50.1