From 5cff48879021dd54543834c089affec389564bee Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 15 Aug 2026 15:30:32 +0200 Subject: [PATCH] [skip ci] UPGRADING: minor fix Newly added changelog entry created a new section for the Phar extension and added it in the wrong place. --- UPGRADING | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/UPGRADING b/UPGRADING index a5262caf3e0f..c9b14fca0dec 100644 --- a/UPGRADING +++ b/UPGRADING @@ -52,12 +52,6 @@ PHP 8.6 UPGRADE NOTES . imagesetstyle(), imagefilter() and imagecrop() filter their array arguments types / values and raise a TypeError / ValueError accordingly. -- Phar: - . Files are only automatically interpreted as Phar archives when included - if ".phar" occurs as an extension in the filename component of their - paths. Previously, it could occur in a directory name or as part of an - extension such as ".pharma". - - GMP: . GMP power and shift operators now throw a ValueError when GMP right operands are outside the unsigned long range, instead of silently truncating them. @@ -119,6 +113,10 @@ PHP 8.6 UPGRADE NOTES the reserved magic ".phar" directory through that form. . Phar::addEmptyDir() now treats non-magic names that merely share the ".phar" prefix as ordinary directories. + . Files are only automatically interpreted as Phar archives when included + if ".phar" occurs as an extension in the filename component of their + paths. Previously, it could occur in a directory name or as part of an + extension such as ".pharma". - Posix: . posix_access() now raises a ValueError when an invalid $flags