<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = 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 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.mb-ereg-search-getregs.php',
    1 => 'mb_ereg_search_getregs',
    2 => 'Retrieve the result from the last multibyte regular expression match',
  ),
  'up' => 
  array (
    0 => 'ref.mbstring.php',
    1 => '多字节字符串 函数',
  ),
  'prev' => 
  array (
    0 => 'function.mb-ereg-search-getpos.php',
    1 => 'mb_ereg_search_getpos',
  ),
  'next' => 
  array (
    0 => 'function.mb-ereg-search-init.php',
    1 => 'mb_ereg_search_init',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mbstring/functions/mb-ereg-search-getregs.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mb-ereg-search-getregs" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mb_ereg_search_getregs</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mb_ereg_search_getregs</span> &mdash; <span class="dc-title">Retrieve the result from the last multibyte regular expression match</span></p>

 </div>
   
 <div class="refsect1 description" id="refsect1-function.mb-ereg-search-getregs-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mb_ereg_search_getregs</strong></span>(): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="simpara">
   Retrieve the result from the last multibyte regular expression match
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mb-ereg-search-getregs-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.mb-ereg-search-getregs-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="simpara">
   An <span class="type"><a href="language.types.array.php" class="type array">array</a></span>
   including the sub-string of matched part by last
   <span class="function"><a href="function.mb-ereg-search.php" class="function">mb_ereg_search()</a></span>,
   <span class="function"><a href="function.mb-ereg-search-pos.php" class="function">mb_ereg_search_pos()</a></span>,
   <span class="function"><a href="function.mb-ereg-search-regs.php" class="function">mb_ereg_search_regs()</a></span>. If there are some
   matches, the first element will have the matched sub-string, the
   second element will have the first part grouped with brackets, 
   the third element will have the second part grouped with
   brackets, and so on. It returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.mb-ereg-search-getregs-notes">
  <h3 class="title">注释</h3>
  
  <blockquote class="note"><p><strong class="note">注意</strong>: <p class="para"><span class="function"><a href="function.mb-regex-encoding.php" class="function">mb_regex_encoding()</a></span>
指定的内部编码或字符编码将会当作此函数用的字符编码。</p></p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mb-ereg-search-getregs-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.mb-regex-encoding.php" class="function" rel="rdfs-seeAlso">mb_regex_encoding()</a> - Set/Get character encoding for multibyte regex</span></li>
    <li><span class="function"><a href="function.mb-ereg-search-init.php" class="function" rel="rdfs-seeAlso">mb_ereg_search_init()</a> - Setup string and regular expression for a multibyte regular expression match</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>