Skip to content

Commit 2b5d978

Browse files
committed
Update NEWS and UPGRADING
1 parent 25cbc15 commit 2b5d978

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ PHP NEWS
1111
been deprecated. (theodorejb)
1212
. The backtick operator as an alias for shell_exec() has been deprecated.
1313
(timwolla)
14+
. Returning null from __debugInfo() has been deprecated. (DanielEScherzer)
15+
16+
- Date:
17+
. The DATE_RFC7231 and DateTimeInterface::RFC7231 constants have been
18+
deprecated. (jorgsowa)
1419

1520
- DOM:
1621
. Fixed bug GH-18877 (\Dom\HTMLDocument querySelectorAll selecting only the

UPGRADING

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,15 @@ PHP 8.5 UPGRADE NOTES
330330
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_semicolon_after_case_in_switch_statement
331331
. The backtick operator as an alias for shell_exec() has been deprecated.
332332
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_backticks_as_an_alias_for_shell_exec
333+
. Returning null from __debugInfo() has been deprecated.
334+
Return an empty array instead.
335+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_debuginfo_returning_null
336+
337+
- Date:
338+
. The DATE_RFC7231 and DateTimeInterface::RFC7231 constants have been
339+
deprecated. This is because the associated timezone is ignored and always
340+
uses GMT.
341+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_date_rfc7231_and_datetimeinterfacerfc7231
333342

334343
- FileInfo:
335344
. The finfo_close() function has been deprecated.

0 commit comments

Comments
 (0)