Skip to content

Commit f313b65

Browse files
committed
Optimize closures nested in other closures
1 parent 68ca387 commit f313b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Optimizer/zend_optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ static void zend_foreach_op_array_helper(
13471347
zend_op_array *op_array, zend_op_array_func_t func, void *context) {
13481348
func(op_array, context);
13491349
for (uint32_t i = 0; i < op_array->num_dynamic_func_defs; i++) {
1350-
func(op_array->dynamic_func_defs[i], context);
1350+
zend_foreach_op_array_helper(op_array->dynamic_func_defs[i], func, context);
13511351
}
13521352
}
13531353

0 commit comments

Comments
 (0)