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