Skip to content

Commit 7f382d2

Browse files
committed
UPGRADING.INTERNALS
1 parent cb3a8be commit 7f382d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ PHP 8.6 INTERNALS UPGRADE NOTES
7474
longer is a pointer, but a directly embedded HashTable struct.
7575
. Added a C23_ENUM() helper macro to define forward-compatible fixed-size
7676
enums.
77+
. The INI_STR(), INI_INT(), INI_FLT(), and INI_BOOL() macros have been
78+
removed. Instead new zend_ini_{bool|long|double|str|string}_literal()
79+
macros have been added. This fixes an internal naming inconsistency as
80+
"str" usually means zend_string*, and "string" means char*.
81+
However INI_STR() returned a char*
82+
. The INI_ORIG_{INT|STR|FLT|BOOL}() macros have been removed as they are
83+
unused. If this behaviour is required fall back to the zend_ini_*
84+
functions.
7785

7886
========================
7987
2. Build system changes

0 commit comments

Comments
 (0)