Skip to content

Commit fcf847c

Browse files
authored
Mark $http_response_header as deprecated (#4977)
1 parent c80bf6d commit fcf847c

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

language/predefined/variables/httpresponseheader.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
<refpurpose>HTTP response headers</refpurpose>
77
</refnamediv>
88

9+
<refsynopsisdiv>
10+
&warn.deprecated.feature-8-5-0;
11+
<simpara>
12+
Use <function>http_get_last_response_headers</function> instead.
13+
</simpara>
14+
</refsynopsisdiv>
15+
916
<refsect1 role="description">
1017
&reftitle.description;
1118
<para>

language/predefined/versions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<function name="_FILES" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>
155155
<function name="_GET" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>
156156
<function name="GLOBALS" from="PHP 4, PHP 5, PHP 7, PHP 8"/>
157-
<function name="http_response_header" from="PHP 4 &gt;= 4.0.4, PHP 5, PHP 7, PHP 8"/>
157+
<function name="http_response_header" from="PHP 4 &gt;= 4.0.4, PHP 5, PHP 7, PHP 8" deprecated="PHP 8.5.0" />
158158
<function name="php_errormsg" from="PHP 4, PHP 5, PHP 7" deprecated="PHP 7.2.0" removed="PHP 8"/>
159159
<function name="_POST" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>
160160
<function name="_REQUEST" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>

0 commit comments

Comments
 (0)