diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 2f6ea7d9ea84..4c5d74b49e9c 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -14,6 +14,8 @@ PHP 8.7 INTERNALS UPGRADE NOTES 1. Internal API changes ======================== +- Removed the ZEND_LOG_XOR() macro. +- Removed the ZEND_TRUTH() 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..4906c2947cc5 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -555,8 +555,6 @@ extern "C++" { #define ZEND_STRS(str) (str), (sizeof(str)) #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