Skip to content

Commit c8c9ff6

Browse files
authored
Add ZEND_TYPE_ASSERT to UPGRADING.INTERNALS (#21014)
Following #20934 which introduced the OPcode.
1 parent 61845cc commit c8c9ff6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ PHP 8.6 INTERNALS UPGRADE NOTES
8888
4. OpCode changes
8989
========================
9090

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+
9195
========================
9296
5. SAPI changes
9397
========================

0 commit comments

Comments
 (0)