From: Stanislav Malyshev Date: Sun, 15 Jun 2003 11:44:30 +0000 (+0000) Subject: Fix bug #21800 - initialize opcode handlers in interactive mode X-Git-Tag: RELEASE_1_0_2~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efafae1427c59bdff2f9d39249a60df9e2b31564;p=php Fix bug #21800 - initialize opcode handlers in interactive mode --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 308d5f4751..c76cb2d543 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -883,7 +883,8 @@ void execute_new_code(TSRMLS_D) opline->op2.u.constant.is_ref = 1; opline->op2.u.constant.refcount = 2; } - opline++; + opline->handler = zend_opcode_handlers[opline->opcode]; + opline++; } EG(return_value_ptr_ptr) = &local_retval;