Skip to content

Commit 99068da

Browse files
committed
Update NEWS/UPGRADING for $http_response_header deprecation
1 parent 8a5972f commit 99068da

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ PHP NEWS
3030
. Prohibit pipe & arrow function combination that leads to confusing parse
3131
trees. (ilutov)
3232
. The disable_classes INI directive has been removed. (Girgias)
33+
. The locally predefined variable $http_response_header is deprecated.
34+
(Girgias)
3335

3436
- Filter:
3537
. Added support for configuring the URI parser for FILTER_VALIDATE_URL

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ PHP 8.5 UPGRADE NOTES
464464
. Passing integers outside the interval [0, 255] to chr() is now deprecated.
465465
This is because a byte can only hold a value within this interval.
466466
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_integers_outside_the_interval_0_255_to_chr
467+
. Relying locally predefined variable $http_response_header is deprecated.
468+
Instead one should call the http_get_last_response_headers() function.
469+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_http_response_header_predefined_variable
467470

468471
- XML:
469472
. The xml_parser_free() function has been deprecated, as XMLParser objects

0 commit comments

Comments
 (0)