From: Nikita Popov Date: Wed, 30 Dec 2015 22:49:07 +0000 (+0100) Subject: Fix lineno for finally FAST_CALL and JMP X-Git-Tag: php-7.1.0alpha1~617^2~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3afeeabefc4777ec4797a7e2c3688e9e20be4cc;p=php Fix lineno for finally FAST_CALL and JMP --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 9c07afe694..ef9f1941c3 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -4481,6 +4481,8 @@ void zend_compile_try(zend_ast *ast) /* {{{ */ /* Pop FAST_CALL from unwind stack */ zend_stack_del_top(&CG(loop_var_stack)); + CG(zend_lineno) = finally_ast->lineno; + opline = zend_emit_op(NULL, ZEND_FAST_CALL, NULL, NULL); opline->op1.num = try_catch_offset; opline->result_type = IS_TMP_VAR;