You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's because GC_DELREF() decrements its refcount to zero without freeing it. When the array is in GC roots it may still end up being freed, but in this case GC roots are empty.
If GC_DELREF() decremented its refcount to a non-zero value, this would miss a potential garbage cycle as well.
Possibly, debug_zval_dump() and var_export() have the same issue.
Activity
Merge branch 'PHP-8.4'