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 e942c09 commit e69811dCopy full SHA for e69811d
Zend/zend_weakrefs.c
@@ -199,6 +199,8 @@ void zend_weakrefs_init(void) {
199
/* This is called when the object is garbage collected
200
* to remove all WeakReference and WeakMap entries weakly referencing that object. */
201
void zend_weakrefs_notify(zend_object *object) {
202
+ printf("Notify from %p\n", object);
203
+
204
/* Annoyingly we can't use the HT destructor here, because we need access to the key (which
205
* is the object address), which is not provided to the dtor. */
206
const zend_ulong obj_key = zend_object_to_weakref_key(object);
0 commit comments