[skip ci] Document zend_enum_get_case_by_value() function

This function was introduced in d62d50b88e.
This commit is contained in:
Jeremy Mikola 2022-10-18 03:28:36 -04:00 committed by Ilija Tovilo
parent 182d297891
commit 25cdb3b83d
No known key found for this signature in database
GPG key ID: A4F5D403F118200A

View file

@ -57,6 +57,8 @@ PHP 8.2 INTERNALS UPGRADE NOTES
* The CHECK_NULL_PATH and CHECK_ZVAL_NULL_PATH macros are now wrappers using * The CHECK_NULL_PATH and CHECK_ZVAL_NULL_PATH macros are now wrappers using
the new inline functions: bool zend_str_has_nul_byte(const zend_string *str) the new inline functions: bool zend_str_has_nul_byte(const zend_string *str)
and zend_char_has_nul_byte(const char *s, size_t known_length) and zend_char_has_nul_byte(const char *s, size_t known_length)
* Added zend_enum_get_case_by_value() function, which provides an internal API
similiar to BackedEnum::from() and BackedEnum::tryFrom().
======================== ========================
2. Build system changes 2. Build system changes