mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix line assignment in zend_ast_create_va()
This commit is contained in:
@@ -304,7 +304,7 @@ ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_va(
|
||||
ast->attr = attr;
|
||||
for (uint32_t i = 0; i < children; i++) {
|
||||
ast->child[i] = va_arg(*va, zend_ast *);
|
||||
if (lineno != (uint32_t)-1 && ast->child[i]) {
|
||||
if (lineno == (uint32_t)-1 && ast->child[i]) {
|
||||
lineno = zend_ast_get_lineno(ast->child[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user