[php-src] PR #18917: Fix leak when creating cycle in hook
| From: | iluuu1994 | Date: | Sun, 22 Jun 2025 22:22:32 +0000 |
| Subject: | [php-src] PR #18917: Fix leak when creating cycle in hook | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32152@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18917
Author: iluuu1994
This is necessary because the VM frees operands with the nogc variants. We cannot just call
gc_possible_root() because the object may no longer exist at that point.
Fixes GH-18907