[php-src] master: [skip ci] Several UPGRADING fixes

From: Date: Fri, 25 Sep 2026 19:40:32 +0000
Subject: [php-src] master: [skip ci] Several UPGRADING fixes
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141574@lists.php.net to get a copy of this message
Author: Weilin Du (LamentXU123) Date: 2026-09-26T03:37:51+08:00 Commit: https://github.com/php/php-src/commit/1c3aa68e662062d5fb06328b15d4a96e669e32b7 Raw diff: https://github.com/php/php-src/commit/1c3aa68e662062d5fb06328b15d4a96e669e32b7.diff [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. Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index e390a70753b5..63a1f5f30fbc 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().

« previous php.cvs (#141574) next »