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 13b2dc9 commit 165bbb9Copy full SHA for 165bbb9
Zend/zend_closures.c
@@ -86,9 +86,6 @@ static bool zend_valid_closure_binding(
86
zend_error(E_WARNING, "Cannot bind an instance to a static closure, this will be an error in PHP 9");
87
return false;
88
} else {
89
- zend_object *obj = Z_OBJ_P(newthis);
90
- ZVAL_UNDEF(newthis);
91
- GC_DTOR(obj);
92
*newthis_ptr = NULL;
93
}
94
0 commit comments