We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc944f commit 898312aCopy full SHA for 898312a
Zend/zend_closures.c
@@ -478,6 +478,7 @@ static void zend_closure_free_storage(zend_object *object) /* {{{ */
478
/* We don't own the static variables of fake closures. */
479
if (!(closure->func.op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) {
480
zend_destroy_static_vars(&closure->func.op_array);
481
+ closure->func.op_array.static_variables = NULL;
482
}
483
destroy_op_array(&closure->func.op_array);
484
} else if (closure->orig_internal_handler == zend_closure_call_magic) {
0 commit comments