<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Splits a key in string representation into array representation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.dba-insert.html">dba_insert</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.dba-list.html">dba_list</a></div> <div class="up"><a href="ref.dba.html">DBA Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.dba-key-split" class="refentry"> <div class="refnamediv"> <h1 class="refname">dba_key_split</h1> <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">dba_key_split</span> — <span class="dc-title"> Splits a key in string representation into array representation </span></p> </div> <div class="refsect1 description" id="refsect1-function.dba-key-split-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>dba_key_split</strong></span> ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$key</code></span> )</div> <p class="para rdfs-comment"> <span class="function"><strong>dba_key_split()</strong></span> splits a key (string representation) into an array representation. </p> </div> <div class="refsect1 parameters" id="refsect1-function.dba-key-split-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">key</code></em></span> <dd> <p class="para"> The key in string representation. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.dba-key-split-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an array of the form <em>array(0 => group, 1 => value_name)</em>. This function will return <strong><code>FALSE</code></strong> if <em><code class="parameter">key</code></em> is <strong><code>NULL</code></strong> or <strong><code>FALSE</code></strong>. </p> </div> <div class="refsect1 seealso" id="refsect1-function.dba-key-split-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.dba-firstkey.html" class="function" rel="rdfs-seeAlso">dba_firstkey()</a> - Fetch first key</span></li> <li class="member"> <span class="function"><a href="function.dba-nextkey.html" class="function" rel="rdfs-seeAlso">dba_nextkey()</a> - Fetch next key</span></li> <li class="member"> <span class="function"><a href="function.dba-fetch.html" class="function" rel="rdfs-seeAlso">dba_fetch()</a> - Fetch data specified by key</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.dba-insert.html">dba_insert</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.dba-list.html">dba_list</a></div> <div class="up"><a href="ref.dba.html">DBA Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>