Commit 02bb8b5f82b for php.net
commit 02bb8b5f82b9578f3ac0746bbbb9ecbabcc8fb2e
Author: Juliette <663378+jrfnl@users.noreply.github.com>
Date: Sat Aug 15 17:23:54 2026 +0200
[skip ci] UPGRADING: Fix entry added in #23260
Newly added changelog entry created a new section for the Phar extension and
added it in the wrong place.
diff --git a/UPGRADING b/UPGRADING
index a5262caf3e0..c9b14fca0de 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