<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.dba.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.dba-key-split.php',
    1 => 'dba_key_split',
    2 => '将键的字符串表示分割为数组表示',
  ),
  'up' => 
  array (
    0 => 'ref.dba.php',
    1 => 'DBA 函数',
  ),
  'prev' => 
  array (
    0 => 'function.dba-insert.php',
    1 => 'dba_insert',
  ),
  'next' => 
  array (
    0 => 'function.dba-list.php',
    1 => 'dba_list',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/dba/functions/dba-key-split.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.dba-key-split" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dba_key_split</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">dba_key_split</span> &mdash; <span class="dc-title">
   将键的字符串表示分割为数组表示
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.dba-key-split-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>dba_key_split</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span>|<span class="type"><a href="language.types.null.php" class="type null">null</a></span></span> <code class="parameter">$key</code></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">
   <span class="function"><strong>dba_key_split()</strong></span> 将键（字符串表示）分割为数组表示。
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.dba-key-split-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt><code class="parameter">key</code></dt>
    <dd>
     <span class="simpara">
      键的字符串表示。
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.dba-key-split-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="simpara">
   返回一个数组，形式为 <code class="literal">array(0 =&gt; group, 1 =&gt; value_name)</code>。
   如果 <code class="parameter">key</code> 是 <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> 或 <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>，则返回 <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.dba-key-split-changelog">
  <h3 class="title">更新日志</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>版本</th>
      <th>说明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.4.0</td>
      <td>
       将 <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> 或者 <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> 传递给 <code class="parameter">key</code> 现在已经被弃用。
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.dba-key-split-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.dba-firstkey.php" class="function" rel="rdfs-seeAlso">dba_firstkey()</a> - 获取第一个键</span></li>
   <li><span class="function"><a href="function.dba-nextkey.php" class="function" rel="rdfs-seeAlso">dba_nextkey()</a> - 获取下一个键</span></li>
   <li><span class="function"><a href="function.dba-fetch.php" class="function" rel="rdfs-seeAlso">dba_fetch()</a> - 获取由键指定的数据</span></li>
  </ul>
 </div>

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