Skip to content

Commit c3f2364

Browse files
committed
ws
1 parent 686a24c commit c3f2364

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Zend/zend_compile.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,7 +2622,7 @@ static void zend_compile_list_assign(
26222622
continue;
26232623
}
26242624
}
2625-
2625+
26262626
if (elem_ast->kind == ZEND_AST_UNPACK) {
26272627
zend_error(E_COMPILE_ERROR,
26282628
"Spread operator is not supported in assignments");
@@ -5611,7 +5611,7 @@ static void find_implicit_binds(closure_info *info, zend_ast *params_ast, zend_a
56115611
zend_ast_list *param_list = zend_ast_get_list(params_ast);
56125612
uint32_t i;
56135613

5614-
zend_hash_init(&info->uses, param_list->children, NULL, NULL, 0);
5614+
zend_hash_init(&info->uses, param_list->children, NULL, NULL, 0);
56155615

56165616
find_implicit_binds_recursively(info, stmt_ast);
56175617

@@ -7072,15 +7072,15 @@ static zend_bool zend_try_ct_eval_array(zval *result, zend_ast *ast) /* {{{ */
70727072
if (elem_ast->kind != ZEND_AST_UNPACK) {
70737073
zend_eval_const_expr(&elem_ast->child[0]);
70747074
zend_eval_const_expr(&elem_ast->child[1]);
7075-
7075+
70767076
if (elem_ast->attr /* by_ref */ || elem_ast->child[0]->kind != ZEND_AST_ZVAL
70777077
|| (elem_ast->child[1] && elem_ast->child[1]->kind != ZEND_AST_ZVAL)
70787078
) {
70797079
is_constant = 0;
70807080
}
70817081
} else {
70827082
zend_eval_const_expr(&elem_ast->child[0]);
7083-
7083+
70847084
if (elem_ast->child[0]->kind != ZEND_AST_ZVAL) {
70857085
is_constant = 0;
70867086
}
@@ -7121,13 +7121,13 @@ static zend_bool zend_try_ct_eval_array(zval *result, zend_ast *ast) /* {{{ */
71217121
}
71227122
Z_TRY_ADDREF_P(val);
71237123
} ZEND_HASH_FOREACH_END();
7124-
7124+
71257125
continue;
71267126
} else {
71277127
zend_error_noreturn(E_COMPILE_ERROR, "Only arrays and Traversables can be unpacked");
71287128
}
7129-
}
7130-
7129+
}
7130+
71317131
Z_TRY_ADDREF_P(value);
71327132

71337133
key_ast = elem_ast->child[1];

0 commit comments

Comments
 (0)