Skip to content

Commit 2958c7c

Browse files
committed
[skip ci] Add missing UPGRADING.INTERNALS entries
1 parent c1a0670 commit 2958c7c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

UPGRADING.INTERNALS

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

99
4. OpCode changes
1010

11+
5. SAPI changes
12+
1113
========================
1214
1. Internal API changes
1315
========================
@@ -24,6 +26,9 @@ PHP 8.2 INTERNALS UPGRADE NOTES
2426
* The main/php_stdint.h header has been removed.
2527
Include the standard <inttypes.h> and/or <stdint.h> headers instead.
2628
Replace usage of u_char by the standard C99 uint8_t type.
29+
* A new ZEND_THREEWAY_COMPARE() macro has been introduced which does a
30+
three-way comparison of two integers and returns -1, 0 or 1 if the LHS is
31+
smaller, equal or larger than the RHS
2732

2833
========================
2934
2. Build system changes
@@ -53,3 +58,12 @@ PHP 8.2 INTERNALS UPGRADE NOTES
5358
will produce ZEND_INIT_FCALL_BY_NAME opcodes instead which check for the
5459
existence of the function at runtime.
5560

61+
========================
62+
5. SAPI changes
63+
========================
64+
65+
* The signature of php_module_startup() has changed from
66+
int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_modules, uint32_t num_additional_modules)
67+
to
68+
zend_result php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_module)
69+
as only one additional module was ever provided.

0 commit comments

Comments
 (0)