Commit 1c3aa68e662 for php
commit 1c3aa68e662062d5fb06328b15d4a96e669e32b7
Author: Weilin Du <weilindu@php.net>
Date: Sat Sep 26 03:37:51 2026 +0800
[skip ci] Several UPGRADING fixes
Use JSON_PRETTY_PRINT, the constant exposed to PHP code, instead of the internal
C macro PHP_JSON_PRETTY_PRINT in the json_encode() performance note.
Qualify url_percent_encode() as Uri\WhatWg\url_percent_encode() to match its
declared namespace. Uri\url_percent_encode() does not exist.
diff --git a/UPGRADING b/UPGRADING
index e390a70753b..63a1f5f30fb 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -525,7 +525,7 @@ PHP 8.6 UPGRADE NOTES
RFC: https://wiki.php.net/rfc/uri_followup#host_type_detection
. Added Uri\Rfc3986\UriBuilder and Uri\WhatWg\UrlBuilder.
RFC: https://wiki.php.net/rfc/uri_followup#uri_building
- . Added Uri\url_percent_encode().
+ . Added Uri\WhatWg\url_percent_encode().
RFC: https://wiki.php.net/rfc/uri_followup#percent-encoding_support
========================================
@@ -1132,7 +1132,7 @@ PHP 8.6 UPGRADE NOTES
- JSON:
. Improve performance of encoding arrays and objects.
. Improved performance of indentation generation in json_encode()
- when using PHP_JSON_PRETTY_PRINT.
+ when using JSON_PRETTY_PRINT.
- Mbstring:
. Improved performance of mb_str_pad().