reference/network/functions/http-response-code.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.http-response-code" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>http_response_code</refname>
...
...
@@ -10,8 +9,8 @@
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
-
<type>mixed</type><methodname>http_response_code</methodname>
14
-
<methodparam choice="opt"><type>int</type><parameter>response_code</parameter></methodparam>
12
+
<type class="union"><type>int</type><type>bool</type></type><methodname>http_response_code</methodname>
13
+
<methodparam choice="opt"><type>int</type><parameter>response_code</parameter><initializer>0</initializer></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Gets or sets the HTTP response status code.
...
...
@@ -119,7 +118,6 @@ int(201)
119
118

120
119

121
120
</refentry>
122
-

123
121
<!-- Keep this comment at the end of the file
124
122
Local variables:
125
123
mode: sgml
126
124