diff --git a/NEWS b/NEWS index ab9073f7794..b00a1aad56b 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,11 @@ PHP NEWS been deprecated. (theodorejb) . The backtick operator as an alias for shell_exec() has been deprecated. (timwolla) + . Returning null from __debugInfo() has been deprecated. (DanielEScherzer) + +- Date: + . The DATE_RFC7231 and DateTimeInterface::RFC7231 constants have been + deprecated. (jorgsowa) - DOM: . Fixed bug GH-18877 (\Dom\HTMLDocument querySelectorAll selecting only the diff --git a/UPGRADING b/UPGRADING index 01acdc852c8..96ed8fee7d9 100644 --- a/UPGRADING +++ b/UPGRADING @@ -330,6 +330,15 @@ PHP 8.5 UPGRADE NOTES RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_semicolon_after_case_in_switch_statement . The backtick operator as an alias for shell_exec() has been deprecated. RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_backticks_as_an_alias_for_shell_exec + . Returning null from __debugInfo() has been deprecated. + Return an empty array instead. + RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_debuginfo_returning_null + +- Date: + . The DATE_RFC7231 and DateTimeInterface::RFC7231 constants have been + 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 - FileInfo: . The finfo_close() function has been deprecated.