diff options
author | Derick Rethans <github@derickrethans.nl> | 2015-12-31 09:46:43 +0000 |
---|---|---|
committer | Derick Rethans <github@derickrethans.nl> | 2015-12-31 09:46:43 +0000 |
commit | 5362f0ad7f6f1b0fe2dcee356a24bcd054c204f0 (patch) | |
tree | 567b4275a78965d71e161ca739b3436eeee2c8b1 | |
parent | da028e075713c27c08ddb224888c4609d1241465 (diff) | |
download | php-git-5362f0ad7f6f1b0fe2dcee356a24bcd054c204f0.tar.gz |
MFH: Fix lineno for finally FAST_CALL and JMP
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index d3e17d0ec4..45f5b7eafb 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -4184,6 +4184,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; |