dba_key_split
(PHP 5, PHP 7, PHP 8)
dba_key_split — Splits a key in string representation into array representation
說明
dba_key_split(string|false|null
$key
): array|falsedba_key_split() splits a key (string representation) into an array representation.
參數
-
key
-
The key in string representation.
返回值
Returns an array of the form array(0 => group, 1 =>
value_name)
. This function will return false
if
key
is null
or false
.
參見
- dba_firstkey() - Fetch first key
- dba_nextkey() - Fetch next key
- dba_fetch() - Fetch data specified by key