Skip to content

Commit 25cdb3b

Browse files
jmikolailuuu1994
authored andcommitted
[skip ci] Document zend_enum_get_case_by_value() function
This function was introduced in d62d50b.
1 parent 182d297 commit 25cdb3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ PHP 8.2 INTERNALS UPGRADE NOTES
5757
* The CHECK_NULL_PATH and CHECK_ZVAL_NULL_PATH macros are now wrappers using
5858
the new inline functions: bool zend_str_has_nul_byte(const zend_string *str)
5959
and zend_char_has_nul_byte(const char *s, size_t known_length)
60+
* Added zend_enum_get_case_by_value() function, which provides an internal API
61+
similiar to BackedEnum::from() and BackedEnum::tryFrom().
6062

6163
========================
6264
2. Build system changes

0 commit comments

Comments
 (0)