From c80991432370b698e0eb15cd0861cf6469b47930 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Tue, 18 Oct 2022 03:28:36 -0400 Subject: [PATCH] Document zend_enum_get_case_by_value() function This function was introduced in d62d50b88ecf8ed838b20d48006a32277eb569fe. --- UPGRADING.INTERNALS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index e122bb0e67ec7..6b52cdf1848e3 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -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 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) +* Added zend_enum_get_case_by_value() function, which provides an internal API + similiar to BackedEnum::from() and BackedEnum::tryFrom(). ======================== 2. Build system changes