Skip to content

Commit 845592a

Browse files
committed
zend_compile: Remove zend_eval_const_expr() in array_map optimization
1 parent ce7daa8 commit 845592a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_compile.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5035,7 +5035,6 @@ static zend_result zend_compile_func_array_map(znode *result, zend_ast_list *arg
50355035
}
50365036

50375037
zend_ast *callback = args->child[0];
5038-
zend_eval_const_expr(&callback);
50395038

50405039
/* Bail out if the callback is not a FCC/PFA. */
50415040
if (callback->kind != ZEND_AST_CALL) {

0 commit comments

Comments
 (0)