1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Update NEWS/UPGRADING for $http_response_header deprecation

This commit is contained in:
Gina Peter Banyard
2025-08-25 23:46:11 +02:00
parent 8a5972fd83
commit 99068da2b1
2 changed files with 5 additions and 0 deletions

2
NEWS
View File

@@ -30,6 +30,8 @@ PHP NEWS
. Prohibit pipe & arrow function combination that leads to confusing parse
trees. (ilutov)
. The disable_classes INI directive has been removed. (Girgias)
. The locally predefined variable $http_response_header is deprecated.
(Girgias)
- Filter:
. Added support for configuring the URI parser for FILTER_VALIDATE_URL

View File

@@ -464,6 +464,9 @@ PHP 8.5 UPGRADE NOTES
. Passing integers outside the interval [0, 255] to chr() is now deprecated.
This is because a byte can only hold a value within this interval.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_integers_outside_the_interval_0_255_to_chr
. Relying locally predefined variable $http_response_header is deprecated.
Instead one should call the http_get_last_response_headers() function.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_http_response_header_predefined_variable
- XML:
. The xml_parser_free() function has been deprecated, as XMLParser objects