mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Optimize closures nested in other closures
This commit is contained in:
parent
68ca3879d7
commit
f313b65acb
1 changed files with 1 additions and 1 deletions
|
@ -1347,7 +1347,7 @@ static void zend_foreach_op_array_helper(
|
|||
zend_op_array *op_array, zend_op_array_func_t func, void *context) {
|
||||
func(op_array, context);
|
||||
for (uint32_t i = 0; i < op_array->num_dynamic_func_defs; i++) {
|
||||
func(op_array->dynamic_func_defs[i], context);
|
||||
zend_foreach_op_array_helper(op_array->dynamic_func_defs[i], func, context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue