mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
BIND_LEXICAL has a meaningless line number
This commit is contained in:
parent
46df9a858c
commit
42d60addef
@ -5453,6 +5453,8 @@ static void zend_compile_closure_binding(znode *closure, zend_op_array *op_array
|
||||
"Cannot use variable $%s twice", ZSTR_VAL(var_name));
|
||||
}
|
||||
|
||||
CG(zend_lineno) = zend_ast_get_lineno(var_name_ast);
|
||||
|
||||
opline = zend_emit_op(NULL, ZEND_BIND_LEXICAL, closure, NULL);
|
||||
opline->op2_type = IS_CV;
|
||||
opline->op2.var = lookup_cv(var_name);
|
||||
|
Loading…
Reference in New Issue
Block a user