reference/mbstring/functions/mb-output-handler.xml
92f1b8b177eb5730382abf9f27bae868f1bb636f
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>mb_output_handler</methodname>
13
-
<methodparam><type>string</type><parameter>contents</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>status</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
...
...
@@ -27,7 +27,7 @@
27
27
<para>
28
28
<variablelist>
29
29
<varlistentry>
30
-
<term><parameter>contents</parameter></term>
30
+
<term><parameter>string</parameter></term>
31
31
<listitem>
32
32
<para>
33
33
The contents of the output buffer.
...
...
@@ -53,52 +53,6 @@
53
53
</para>
54
54
</refsect1>
55
55

56
-
<refsect1 role="changelog">
57
-
&reftitle.changelog;
58
-
<para>
59
-
<informaltable>
60
-
<tgroup cols="2">
61
-
<thead>
62
-
<row>
63
-
<entry>&Version;</entry>
64
-
<entry>&Description;</entry>
65
-
</row>
66
-
</thead>
67
-
<tbody>
68
-
<row>
69
-
<entry>4.1.0</entry>
70
-
<entry>
71
-
<para>
72
-
This handler now adds the charset HTTP header when the following conditions are met:
73
-
</para>
74
-
<para>
75
-
<itemizedlist>
76
-
<listitem>
77
-
<simpara>
78
-
<literal>Content-Type</literal> has not been set, using <function>header</function>.
79
-
</simpara>
80
-
</listitem>
81
-
<listitem>
82
-
<simpara>
83
-
The default MIME type begins with <literal>text/</literal>.
84
-
</simpara>
85
-
</listitem>
86
-
<listitem>
87
-
<simpara>
88
-
The <link linkend="ini.mbstring.http-input">mbstring.http_input</link>
89
-
setting is something other than <literal>pass</literal>.
90
-
</simpara>
91
-
</listitem>
92
-
</itemizedlist>
93
-
</para>
94
-
</entry>
95
-
</row>
96
-
</tbody>
97
-
</tgroup>
98
-
</informaltable>
99
-
</para>
100
-
</refsect1>
101
-

102
56
<refsect1 role="examples">
103
57
&reftitle.examples;
104
58
<para>
...
...
@@ -141,7 +95,6 @@ ob_start("mb_output_handler");
141
95
</refsect1>
142
96

143
97
</refentry>
144
-

145
98
<!-- Keep this comment at the end of the file
146
99
Local variables:
147
100
mode: sgml
148
101