[php-src] master: Zend: remove ZEND_LOG_XOR

From: Date: Mon, 12 Oct 2026 22:37:53 +0000
Subject: [php-src] master: Zend: remove ZEND_LOG_XOR
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142224@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-10-12T23:37:50+01:00 Commit: https://github.com/php/php-src/commit/574ba5b577470db9e0cc906a5400a2dd2547d029 Raw diff: https://github.com/php/php-src/commit/574ba5b577470db9e0cc906a5400a2dd2547d029.diff Zend: remove ZEND_LOG_XOR It is unused Changed paths: M UPGRADING.INTERNALS M Zend/zend_portability.h Diff: diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 2f6ea7d9ea84..50e83966e378 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -14,6 +14,7 @@ PHP 8.7 INTERNALS UPGRADE NOTES 1. Internal API changes ======================== +- Removed the ZEND_LOG_XOR() macro. - Removed zend_execute_scripts(). Manually call zend_execute_script() in a loop instead. - Removed ZEND_STATIC_ASSERT(). Use C11 static_assert() directly instead. diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index a3028efe172b..bd4597784ade 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -556,7 +556,6 @@ extern "C++" { #define ZEND_NORMALIZE_BOOL(n) \ ((n) ? (((n)<0) ? -1 : 1) : 0) #define ZEND_TRUTH(x) ((x) ? 1 : 0) -#define ZEND_LOG_XOR(a, b) (ZEND_TRUTH(a) ^ ZEND_TRUTH(b)) /** * Do a three-way comparison of two integers and returns -1, 0 or 1

« previous php.cvs (#142224) next »