File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ PHP NEWS
2525- Date:
2626 . Fixed GH-17159: "P" format for ::createFromFormat swallows string literals.
2727 (nielsdos)
28+ . The __wakeup() magic method of DateTimeInterface, DateTime,
29+ DateTimeImmutable, DateTimeZone, DateInterval, and DatePeriod has been
30+ deprecated in favour of the __unserialize() magic method. (Girgias)
2831
2932- Exif:
3033 . Fix OSS-Fuzz #442954659 (zero-size box in HEIF file causes infinite loop).
Original file line number Diff line number Diff line change @@ -417,6 +417,10 @@ PHP 8.5 UPGRADE NOTES
417417 deprecated. This is because the associated timezone is ignored and always
418418 uses GMT.
419419 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_date_rfc7231_and_datetimeinterfacerfc7231
420+ . The __wakeup() magic method of DateTimeInterface, DateTime,
421+ DateTimeImmutable, DateTimeZone, DateInterval, and DatePeriod has been
422+ deprecated in favour of the __unserialize() magic method.
423+ Related to RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_sleep_and_wakeup_magic_methods
420424
421425- FileInfo:
422426 . The finfo_close() function has been deprecated.
You can’t perform that action at this time.
0 commit comments