We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ZEND_TYPE_ASSERT
1 parent 61845cc commit c8c9ff6Copy full SHA for c8c9ff6
UPGRADING.INTERNALS
@@ -88,6 +88,10 @@ PHP 8.6 INTERNALS UPGRADE NOTES
88
4. OpCode changes
89
========================
90
91
+- Added ZEND_TYPE_ASSERT to check a value's type against the parameter
92
+ type of a function, throwing a TypeError on failure as if the function
93
+ was called. Used in optimizations that elide function calls.
94
+
95
96
5. SAPI changes
97
0 commit comments