Source of: /manual/en/function.mb-get-info.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mbstring.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.mb-get-info.php',
1 => 'mb_get_info',
),
'up' =>
array (
0 => 'ref.mbstring.php',
1 => 'Multibyte String Functions',
),
'prev' =>
array (
0 => 'function.mb-eregi.php',
1 => 'mb_eregi',
),
'next' =>
array (
0 => 'function.mb-http-input.php',
1 => 'mb_http_input',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.mb-get-info" class="refentry">
<div class="refnamediv">
<h1 class="refname">mb_get_info</h1>
<p class="verinfo">(PHP 4 >= 4.2.0, PHP 5)</p><p class="refpurpose"><span class="refname">mb_get_info</span> — <span class="dc-title">Get internal settings of mbstring</span></p>
</div>
<a name="function.mb-get-info.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><b>mb_get_info</b></span>
([ <span class="methodparam"><span class="type">string</span> <tt class="parameter">$type</tt><span class="initializer"> = "all"</span></span>
] )</div>
<p class="simpara">
<b>mb_get_info()</b> returns the internal setting parameters of mbstring.
</p>
</div>
<a name="function.mb-get-info.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">type</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
If <i><tt class="parameter">type</tt></i>
isn't specified or is specified to
"all", an <a href="language.types.array.php" class="type array">array</a> having the elements "internal_encoding",
"http_output", "http_input", "func_overload", "mail_charset",
"mail_header_encoding", "mail_body_encoding" will be returned.
</p>
<p class="para">
If <i><tt class="parameter">type</tt></i>
is specified as "http_output",
"http_input", "internal_encoding", "func_overload",
the specified setting parameter will be returned.
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.mb-get-info.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
An <a href="language.types.array.php" class="type array">array</a> of type information if <i><tt class="parameter">type</tt></i>
is not specified, otherwise a specific <i><tt class="parameter">type</tt></i>
.
</p>
</div>
<a name="function.mb-get-info.changelog"></a><div class="refsect1 changelog">
<h3 class="title">Changelog</h3>
<p class="para">
</p><table class="doctable informaltable">
<thead valign="middle">
<tr valign="middle">
<th>Version</th>
<th>Description</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td align="left">5.1.3</td>
<td align="left">
The entries "mail_charset", "mail_header_encoding", and
"mail_body_encoding" were made available.
</td>
</tr>
<tr valign="middle">
<td align="left">5.3.0</td>
<td align="left">
The entry "http_output_conv_mimetypes" was made available.
</td>
</tr>
</tbody>
</table>
<p>
</p>
</div>
<a name="function.mb-get-info.seealso"></a><div class="refsect1 seealso">
<h3 class="title">See Also</h3>
<p class="para">
</p><ul class="simplelist">
<li class="member"><a href="function.mb-regex-encoding.php" class="function" rel="rdfs-seeAlso">mb_regex_encoding()</a> - Returns current encoding for multibyte regex as string</li>
<li class="member"><a href="function.mb-http-output.php" class="function" rel="rdfs-seeAlso">mb_http_output()</a> - Set/Get HTTP output character encoding</li>
</ul><p>
</p>
</div>
</div><?php manual_footer(); ?>