dba_key_split

(PHP 5, PHP 7, PHP 8)

dba_key_split Splits a key in string representation into array representation

Description

dba_key_split(string|false|null $key): array|false

dba_key_split() splits a key (string representation) into an array representation.

Parameters

key

The key in string representation.

Return Values

Returns an array of the form array(0 => group, 1 => value_name). This function will return false if key is null or false.

See Also