mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Update NEWS and UPGRADING for __wakeup() deprecation of date classes
This commit is contained in:
3
NEWS
3
NEWS
@@ -25,6 +25,9 @@ PHP NEWS
|
||||
- Date:
|
||||
. Fixed GH-17159: "P" format for ::createFromFormat swallows string literals.
|
||||
(nielsdos)
|
||||
. The __wakeup() magic method of DateTimeInterface, DateTime,
|
||||
DateTimeImmutable, DateTimeZone, DateInterval, and DatePeriod has been
|
||||
deprecated in favour of the __unserialize() magic method. (Girgias)
|
||||
|
||||
- Exif:
|
||||
. Fix OSS-Fuzz #442954659 (zero-size box in HEIF file causes infinite loop).
|
||||
|
||||
@@ -417,6 +417,10 @@ PHP 8.5 UPGRADE NOTES
|
||||
deprecated. This is because the associated timezone is ignored and always
|
||||
uses GMT.
|
||||
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_date_rfc7231_and_datetimeinterfacerfc7231
|
||||
. The __wakeup() magic method of DateTimeInterface, DateTime,
|
||||
DateTimeImmutable, DateTimeZone, DateInterval, and DatePeriod has been
|
||||
deprecated in favour of the __unserialize() magic method.
|
||||
Related to RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_sleep_and_wakeup_magic_methods
|
||||
|
||||
- FileInfo:
|
||||
. The finfo_close() function has been deprecated.
|
||||
|
||||
Reference in New Issue
Block a user