Commit c8c9ff6d049 for php.net
commit c8c9ff6d0490afff5d9693268eced5c49a3a6ab2
Author: Tim Düsterhus <tim@tideways-gmbh.com>
Date: Fri Jan 23 13:17:49 2026 +0100
Add `ZEND_TYPE_ASSERT` to UPGRADING.INTERNALS (#21014)
Following php/php-src#20934 which introduced the OPcode.
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 1b041da5aff..f23a610b849 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -88,6 +88,10 @@ PHP 8.6 INTERNALS UPGRADE NOTES
4. OpCode changes
========================
+- Added ZEND_TYPE_ASSERT to check a value's type against the parameter
+ type of a function, throwing a TypeError on failure as if the function
+ was called. Used in optimizations that elide function calls.
+
========================
5. SAPI changes
========================