[php-src] PR #20235: Zend: remove zval_dtor() compatibility macro

From: Date: Sun, 19 Oct 2025 22:11:58 +0000
Subject: [php-src] PR #20235: Zend: remove zval_dtor() compatibility macro
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-33721@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20235 Author: nielsdos This is an alias for zval_ptr_dtor_nogc(). I've seen people make mistakes against this and use zval_dtor() instead of zval_ptr_dtor(). The crucial detail here is that the former won't root possible GC cycles while the latter will. We can avoid the confusion by just retiring this compatibility macro.

« previous php.git-pulls (#33721) next »