Skip to content

Commit fbffee1

Browse files
committed
UPGRADING.INTERNALS
1 parent 4c6cb49 commit fbffee1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,20 @@ PHP 8.6 INTERNALS UPGRADE NOTES
6060
automatically unwrap references when the result of the call is stored in an
6161
IS_TMP_VAR variable. This may be achieved by calling the
6262
zend_return_unwrap_ref() function.
63+
. The php_math_round_mode_from_enum() function now takes a
64+
zend_enum_RoundingMode parameter.
65+
. Added Z_PARAM_ENUM().
66+
. Added zend_enum_fetch_case_id().
6367

6468
========================
6569
2. Build system changes
6670
========================
6771

72+
. build/gen_stub.php may now generate a _decl.h file in addition to
73+
the _arginfo.h file, if the stub declares enums and is annotated with
74+
@generte-c-enums. For each enum, the file will contain a C enum. Enum values
75+
can be compared to the result of zend_enum_fetch_case_id(zend_object*).
76+
6877
========================
6978
3. Module changes
7079
========================

0 commit comments

Comments
 (0)