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

From: Date: Mon, 28 Sep 2026 05:51:22 +0000
Subject: [php-src] master: Backport: Several UPGRADING fixes [skip ci]
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141612@lists.php.net to get a copy of this message
Author: Weilin Du (LamentXU123) Date: 2026-09-28T13:50:34+08:00 Commit: https://github.com/php/php-src/commit/0c752d11bf94c779e18cb7275fa10e4e8319cb7e Raw diff: https://github.com/php/php-src/commit/0c752d11bf94c779e18cb7275fa10e4e8319cb7e.diff Backport: Several UPGRADING fixes [skip ci] Backport from master to PHP-8.6. Original commit: 1c3aa68e662062d5fb06328b15d4a96e669e32b7 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 (#141612) next »