downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

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 &gt;= 4.2.0, PHP 5)</p><p class="refpurpose"><span class="refname">mb_get_info</span> &mdash; <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"> = &quot;all&quot;</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&#039;t specified or is specified to
       &quot;all&quot;, an <a href="language.types.array.php" class="type array">array</a> having the elements &quot;internal_encoding&quot;,
       &quot;http_output&quot;, &quot;http_input&quot;, &quot;func_overload&quot;, &quot;mail_charset&quot;,
       &quot;mail_header_encoding&quot;, &quot;mail_body_encoding&quot; will be returned.
      </p>
      <p class="para">
       If <i><tt class="parameter">type</tt></i>
 is specified as &quot;http_output&quot;,
       &quot;http_input&quot;, &quot;internal_encoding&quot;, &quot;func_overload&quot;,
       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 &quot;mail_charset&quot;, &quot;mail_header_encoding&quot;, and
        &quot;mail_body_encoding&quot; were made available.
       </td>
      </tr>

      <tr valign="middle">
       <td align="left">5.3.0</td>
       <td align="left">
        The entry &quot;http_output_conv_mimetypes&quot; 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(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites