mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +08:00
Fix #78132 wrong line number on ZEND_BIND_STATIC for lexical vars
This commit is contained in:
parent
f76d83ab15
commit
006b191126
@ -5585,6 +5585,8 @@ static void zend_compile_closure_uses(zend_ast *ast) /* {{{ */
|
||||
}
|
||||
}
|
||||
|
||||
CG(zend_lineno) = zend_ast_get_lineno(var_ast);
|
||||
|
||||
zend_compile_static_var_common(var_name, &zv, var_ast->attr ? ZEND_BIND_REF : 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user