Skip to content

Commit 6b987f2

Browse files
committed
Update UPGRADING.INTERNALS
1 parent 55585b0 commit 6b987f2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ PHP 8.2 INTERNALS UPGRADE NOTES
66

77
3. Module changes
88

9+
4. OpCode changes
10+
911
========================
1012
1. Internal API changes
1113
========================
@@ -24,3 +26,14 @@ PHP 8.2 INTERNALS UPGRADE NOTES
2426
3. Module changes
2527
========================
2628

29+
========================
30+
4. OpCode changes
31+
========================
32+
33+
* The ZEND_INIT_FCALL opcode now asserts that the function exists in the symbol
34+
table as the function's existence is checked at compile time.
35+
For extensions modifying the function symbol table, setting
36+
CG(compiler_options) |= ZEND_COMPILE_IGNORE_USER_FUNCTIONS | ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS;
37+
will produce ZEND_INIT_FCALL_BY_NAME opcodes instead which check for the
38+
existence of the function at runtime.
39+

0 commit comments

Comments
 (0)