Skip to content

Commit 5f989aa

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: zend_compile: Fix incorrect use of `ZVAL_NEW_STR()` in `zend_compile_call()` (php#21851)
2 parents 86a1b36 + eafc267 commit 5f989aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5221,7 +5221,7 @@ static void zend_compile_call(znode *result, zend_ast *ast, uint32_t type) /* {{
52215221
}
52225222

52235223
zval_ptr_dtor(&name_node.u.constant);
5224-
ZVAL_NEW_STR(&name_node.u.constant, lcname);
5224+
ZVAL_STR(&name_node.u.constant, lcname);
52255225

52265226
opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node);
52275227
opline->result.num = zend_alloc_cache_slot();

0 commit comments

Comments
 (0)