[php-src] master: [skip ci] UPGRADING: fix placement of entry (#23742)
| From: | Juliette via GitHub | Date: | Fri, 18 Sep 2026 03:11:03 +0000 |
| Subject: | [php-src] master: [skip ci] UPGRADING: fix placement of entry (#23742) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141261@lists.php.net to get a copy of this message | ||
Author: Juliette (jrfnl)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-09-18T11:11:00+08:00
Commit: https://github.com/php/php-src/commit/5acf331f98c5779a56a7a5bd9130fc2b9bb4d749
Raw diff: https://github.com/php/php-src/commit/5acf331f98c5779a56a7a5bd9130fc2b9bb4d749.diff
[skip ci] UPGRADING: fix placement of entry (#23742)
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 8762c7602ae3..48ddd14bb726 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -616,23 +616,6 @@ PHP 8.6 UPGRADE NOTES
* SplFileObject::getCsvControl()
RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_splfileobject_csv_methods
-- Date:
- . The following DateTime, DateTimeImmutable, DateTimeZone, DateInterval, and DatePeriod methods
now have tentative static return types:
- DateTime::createFromInterface()
- DateTimeImmutable::__set_state()
- DateTimeImmutable::modify()
- DateTimeImmutable::add()
- DateTimeImmutable::sub()
- DateTimeImmutable::setTimezone()
- DateTimeImmutable::setTime()
- DateTimeImmutable::setDate()
- DateTimeImmutable::setISODate()
- DateTimeImmutable::setTimestamp()
- DateTimeImmutable::createFromInterface()
- DateTimeZone::__set_state()
- DateInterval::__set_state()
- DatePeriod::__set_state()
-
- Standard:
. metaphone() is deprecated.
Please use a userland phonetic matching library instead.
@@ -678,6 +661,23 @@ PHP 8.6 UPGRADE NOTES
5. Changed Functions
========================================
+- Date:
+ . The following DateTime, DateTimeImmutable, DateTimeZone, DateInterval, and DatePeriod methods
now have tentative static return types:
+ DateTime::createFromInterface()
+ DateTimeImmutable::__set_state()
+ DateTimeImmutable::modify()
+ DateTimeImmutable::add()
+ DateTimeImmutable::sub()
+ DateTimeImmutable::setTimezone()
+ DateTimeImmutable::setTime()
+ DateTimeImmutable::setDate()
+ DateTimeImmutable::setISODate()
+ DateTimeImmutable::setTimestamp()
+ DateTimeImmutable::createFromInterface()
+ DateTimeZone::__set_state()
+ DateInterval::__set_state()
+ DatePeriod::__set_state()
+
- Filter:
. filter_var_array() return type has been narrowed from array|false|null to
array|false. The function always establishes an array before filtering, so
@@ -1096,11 +1096,6 @@ PHP 8.6 UPGRADE NOTES
. Improved performance of imagegrabscreen() and imagegrabwindow() on
Windows.
-- JSON:
- . Improve performance of encoding arrays and objects.
- . Improved performance of indentation generation in json_encode()
- when using PHP_JSON_PRETTY_PRINT.
-
- Intl:
. Improved performance of IntlCalendar::getAvailableLocales() and
IntlDateFormatter::localtime() / datefmt_localtime() by pre-allocating
@@ -1108,6 +1103,11 @@ PHP 8.6 UPGRADE NOTES
. Improved performance of transliterator_list_ids() and
resourcebundle_locales() by pre-allocating their returned arrays.
+- JSON:
+ . Improve performance of encoding arrays and objects.
+ . Improved performance of indentation generation in json_encode()
+ when using PHP_JSON_PRETTY_PRINT.
+
- Mbstring:
. Improved performance of mb_str_pad().