Commit 3199f8932ba for php.net
commit 3199f8932bac5e09d084e1c6743ae545431a8490
Author: Weilin Du <weilindu@php.net>
Date: Tue Jul 14 23:41:38 2026 +0800
[skip ci] UPGRADING: document several added functions and classes
diff --git a/UPGRADING b/UPGRADING
index 74a5e066483..a27ef2f8f4a 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -393,17 +393,19 @@ PHP 8.6 UPGRADE NOTES
6. New Functions
========================================
+- Intl:
+ . grapheme_strrev()
+ RFC: https://wiki.php.net/rfc/grapheme_strrev
+ . Locale::getDisplayKeyword() and Locale::getDisplayKeywordValue()
+ RFC: https://wiki.php.net/rfc/getdisplaykeyword_and_getdisplaykeywordvalue
+
- Reflection:
. ReflectionConstant::inNamespace()
. ReflectionProperty::isReadable() and ReflectionProperty::isWritable()
RFC: https://wiki.php.net/rfc/isreadable-iswriteable
- . ReflectionParameter::getDocComment().
+ . ReflectionParameter::getDocComment()
RFC: https://wiki.php.net/rfc/parameter-doccomments
-- Intl:
- . grapheme_strrev() returns strrev for grapheme cluster unit.
- RFC: https://wiki.php.net/rfc/grapheme_strrev
-
- mysqli:
. Added mysqli::quote_string() and mysqli_quote_string().
RFC: https://wiki.php.net/rfc/mysqli_quote_string
@@ -412,9 +414,15 @@ PHP 8.6 UPGRADE NOTES
. clamp() returns the given value if in range, else return the nearest
bound.
RFC: https://wiki.php.net/rfc/clamp_v2
- . stream_last_errors() and stream_clear_errors().
+ . stream_last_errors() and stream_clear_errors()
RFC: https://wiki.php.net/rfc/stream_errors
- . stream_socket_get_crypto_status().
+ . stream_socket_get_crypto_status()
+
+- URI:
+ . Uri\Rfc3986\Uri::getUriType() and Uri\WhatWg\Url::isSpecialScheme()
+ RFC: https://wiki.php.net/rfc/uri_followup#uri_type_detection
+ . Uri\Rfc3986\Uri::getHostType() and Uri\WhatWg\Url::getHostType()
+ RFC: https://wiki.php.net/rfc/uri_followup#host_type_detection
- Zip:
. ZipArchive::openString()
@@ -424,6 +432,9 @@ PHP 8.6 UPGRADE NOTES
7. New Classes and Interfaces
========================================
+- Intl:
+ . IntlNumberRangeFormatter
+
- OpenSSL:
. Openssl\OpensslException
. Openssl\Session
@@ -457,6 +468,10 @@ PHP 8.6 UPGRADE NOTES
. Io\Poll\InvalidHandleException
. StreamPollHandle
+- URI:
+ . Uri\Rfc3986\UriBuilder
+ RFC: https://wiki.php.net/rfc/uri_followup#uri_building
+
========================================
8. Removed Extensions and SAPIs
========================================