Skip to content

Commit d656a6f

Browse files
committed
Re-enable optimization
Works now, for some reason
1 parent 18f80dd commit d656a6f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/zend_compile.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4370,7 +4370,6 @@ static zend_result zend_compile_func_cufa(znode *result, zend_ast_list *args, ze
43704370
bool is_fully_qualified;
43714371
zend_string *name = zend_resolve_function_name(orig_name, args->child[1]->child[0]->attr, &is_fully_qualified);
43724372

4373-
#if 0
43744373
zend_ast_list *list = zend_ast_get_list(args->child[1]->child[1]);
43754374
if (zend_string_equals_literal_ci(name, "array_slice")
43764375
&& !zend_args_contain_unpack_or_named(list)
@@ -4393,7 +4392,6 @@ static zend_result zend_compile_func_cufa(znode *result, zend_ast_list *args, ze
43934392
return SUCCESS;
43944393
}
43954394
}
4396-
#endif
43974395
zend_string_release_ex(name, 0);
43984396
}
43994397
zend_compile_expr(&arg_node, args->child[1]);

0 commit comments

Comments
 (0)